1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Datepicker() fix for date-field type.

This commit is contained in:
Cameron
2016-06-26 12:06:37 -07:00
parent 6a520a61a6
commit a21fb4bf2f

View File

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