This commit is contained in:
tianshujie
2022-01-06 11:14:48 +08:00
parent c357477762
commit 26685258c7
+1 -1
View File
@@ -557,7 +557,7 @@ class baseHelper
*/
static public function isZeroDate($date)
{
return substr($date, 0, 4) == '0000';
return (empty($date) or substr($date, 0, 4) == '0000');
}
/**