From a67a99120e20964e7288bc2bb021516ed6952133 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 16 Oct 2013 19:42:38 +0000 Subject: 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 --- admin/picture_modify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/picture_modify.php') 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, -- cgit v1.2.3