mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Datepicker() fix for date-field type.
This commit is contained in:
@@ -988,7 +988,7 @@ class e_form
|
||||
$dformat = e107::getDate()->toMask($dateFormat);
|
||||
|
||||
// If default value is set.
|
||||
if ($datestamp)
|
||||
if ($datestamp && $datestamp !='0000-00-00') // date-field support.
|
||||
{
|
||||
if(!is_numeric($datestamp))
|
||||
{
|
||||
|
Reference in New Issue
Block a user