fixed a bug in wikimodel

This commit is contained in:
hyung-hwan 2016-01-13 13:08:06 +00:00
parent 8e91003d98
commit 4be7715d2b

View File

@ -372,7 +372,7 @@ class WikiModel extends Model
{ {
$this->db->trans_begin (); // manual transaction. not using trans_start(). $this->db->trans_begin (); // manual transaction. not using trans_start().
$now = codepot_dbdatetodispdate(); $now = codepot_nowtodbdate();
$is_create = empty($wiki->original_name); $is_create = empty($wiki->original_name);
if ($is_create) if ($is_create)