summaryrefslogtreecommitdiff
path: root/core/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-20 08:25:33 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-20 08:25:33 +0000
commitacfb81d940a50ec018613946e30f63c623b8c5db (patch)
tree1cbdd3427c758e0740a836011ee32a50993fccb7 /core/controllers
parent6df1dffed1e2eef2690444e044c2adb1a9bbca51 (diff)
Oops, we need UNIX_TIMESTAMP() instead of NOW()
Diffstat (limited to 'core/controllers')
-rw-r--r--core/controllers/scaffold.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/scaffold.php b/core/controllers/scaffold.php
index f3f3605b..6c71ae27 100644
--- a/core/controllers/scaffold.php
+++ b/core/controllers/scaffold.php
@@ -342,7 +342,7 @@ class Scaffold_Controller extends Template_Controller {
$line);
// Normalize dates
- $line = preg_replace("/,$root_timestamp,/", ",NOW(),", $line);
+ $line = preg_replace("/,$root_timestamp,/", ",UNIX_TIMESTAMP(),", $line);
$buf .= $line;
}
$fd = fopen($sql_file, "wb");