aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-10-16 19:42:38 +0000
committerrvelices <rv-github@modusoptimus.com>2013-10-16 19:42:38 +0000
commita67a99120e20964e7288bc2bb021516ed6952133 (patch)
tree98400b7817f3434252aeec985267366a0477b6b7 /admin
parent00b1121dca04f43816022f2c1806254886299152 (diff)
fix picture modify create date for days/months on two digits starting with 0
git-svn-id: http://piwigo.org/svn/trunk@24946 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-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,