Changeset 24946


Ignore:
Timestamp:
Oct 16, 2013, 9:42:38 PM (7 years ago)
Author:
rvelices
Message:

fix picture modify create date for days/months on two digits starting with 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r20531 r24946  
    374374$template->assign(
    375375    array(
    376       'DATE_CREATION_DAY_VALUE' => $day,
    377       'DATE_CREATION_MONTH_VALUE' => $month,
     376      'DATE_CREATION_DAY_VALUE' => (int)$day,
     377      'DATE_CREATION_MONTH_VALUE' => (int)$month,
    378378      'DATE_CREATION_YEAR_VALUE' => $year,
    379379      'DATE_CREATION_TIME_VALUE' => $time,
Note: See TracChangeset for help on using the changeset viewer.