aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include')
-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);
}