diff options
author | patdenice <patdenice@piwigo.org> | 2010-03-23 11:08:09 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-03-23 11:08:09 +0000 |
commit | 87f5424cca63ddce78c25853881d0116e0c0c5ee (patch) | |
tree | d9235b0c77623a829fbe5613e0ef6b21274894a6 /admin | |
parent | a6c771547decb2667c3b9b2cde769dd3fe51bc0c (diff) |
Avoid error if creation date calendar is empty.
Avoid error on picture_modify.php if creation date is not correct.
git-svn-id: http://piwigo.org/svn/trunk@5283 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r-- | admin/picture_modify.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php index d8f7e6dff..803bc83dc 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -59,7 +59,7 @@ SELECT path if (isset($_POST['date_creation_action']) and 'set' == $_POST['date_creation_action']) { - if (!checkdate( + if (!@checkdate( $_POST['date_creation_month'], $_POST['date_creation_day'], $_POST['date_creation_year']) |