limit date to 2050
This commit is contained in:
parent
2250a4a43c
commit
39206c8291
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ function isDate($p_date)
|
|||
if (sizeof($l_date) != 3)
|
||||
return null;
|
||||
|
||||
if ($l_date[2] > 2020)
|
||||
if ($l_date[2] > 2050)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue