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
This commit is contained in:
z0rglub 2003-10-11 14:17:07 +00:00
commit 673228fbe8

View file

@ -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 )