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:
parent
2341e82094
commit
673228fbe8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue