From acfb81d940a50ec018613946e30f63c623b8c5db Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 20 Mar 2009 08:25:33 +0000 Subject: Oops, we need UNIX_TIMESTAMP() instead of NOW() --- core/controllers/scaffold.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers') 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"); -- cgit v1.2.3