From 4be7715d2b0ecea6861b58d1b55d08a01a273b73 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 13 Jan 2016 13:08:06 +0000 Subject: [PATCH] fixed a bug in wikimodel --- codepot/src/codepot/models/wikimodel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codepot/src/codepot/models/wikimodel.php b/codepot/src/codepot/models/wikimodel.php index 85ca9f00..013b7cc1 100644 --- a/codepot/src/codepot/models/wikimodel.php +++ b/codepot/src/codepot/models/wikimodel.php @@ -372,7 +372,7 @@ class WikiModel extends Model { $this->db->trans_begin (); // manual transaction. not using trans_start(). - $now = codepot_dbdatetodispdate(); + $now = codepot_nowtodbdate(); $is_create = empty($wiki->original_name); if ($is_create)