From 673228fbe839e5a2eac933b6a27801c67f068ad4 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 11 Oct 2003 14:17:07 +0000 Subject: 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 --- admin/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- cgit v1.2.3