aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-11-30 19:53:33 +0000
committerplegall <plg@piwigo.org>2004-11-30 19:53:33 +0000
commit514bac91c66f6eaff63380ec544fe5bccfdebed4 (patch)
tree1f549a72770af4456d72310626b34ea2e572006c
parent2e6ace2df02bbd1499c351e32d1d10d68a4bb4ac (diff)
date_metadata_update between simple quotes
git-svn-id: http://piwigo.org/svn/trunk@624 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/functions_metadata.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/include/functions_metadata.php b/admin/include/functions_metadata.php
index 0e11d4d10..2e66606d2 100644
--- a/admin/include/functions_metadata.php
+++ b/admin/include/functions_metadata.php
@@ -65,7 +65,7 @@ function update_metadata($files)
if (!defined('CURRENT_DATE'))
{
- define('CURRENT_DATE', "'".date('Y-m-d')."'");
+ define('CURRENT_DATE', date('Y-m-d'));
}
$inserts = array();
@@ -109,7 +109,7 @@ function update_metadata($files)
}
}
- $insert['date_metadata_update'] = CURRENT_DATE;
+ $insert['date_metadata_update'] = "'".CURRENT_DATE."'";
array_push($inserts, $insert);
}