diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-10-11 14:17:07 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-10-11 14:17:07 +0000 |
commit | 673228fbe839e5a2eac933b6a27801c67f068ad4 (patch) | |
tree | 2cdc37ee0e35d44abba20a11d3559c1d59fc7c22 /admin/include | |
parent | 2341e82094004071fbfa29fa6fff6b05e3684868 (diff) |
If there is no date given in the form, function check_date_format doesn't
send a warning
git-svn-id: http://piwigo.org/svn/trunk@196 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php index 22361a579..f29b469d6 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -367,7 +367,7 @@ function check_date_format( $date ) { // date arrives at this format : DD/MM/YYYY list($day,$month,$year) = explode( '/', $date ); - return checkdate ( $month, $day, $year ); + return @checkdate( $month, $day, $year ); } function date_convert( $date ) |