aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/picture_modify.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 033e52139..771f72410 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -373,8 +373,8 @@ ksort($month_list);
$template->assign(
array(
- 'DATE_CREATION_DAY_VALUE' => $day,
- 'DATE_CREATION_MONTH_VALUE' => $month,
+ 'DATE_CREATION_DAY_VALUE' => (int)$day,
+ 'DATE_CREATION_MONTH_VALUE' => (int)$month,
'DATE_CREATION_YEAR_VALUE' => $year,
'DATE_CREATION_TIME_VALUE' => $time,
'month_list' => $month_list,