AntonLV 9 лет назад
Родитель
Сommit
8565980b28
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      template/scripts/BxBaseFormView.php

+ 1 - 1
template/scripts/BxBaseFormView.php

@@ -399,7 +399,7 @@ EOS;
 
     protected function genCustomViewRowValueBirthday(&$aInput)
     {
-        if(!isset($aInput['value']) || !$aInput['value'])
+        if(!isset($aInput['value']) || !$aInput['value'] || in_array($aInput['value'], array('0000-00-00', '0000-00-00 00:00:00')))
             return null;
 
         $sValue = $aInput['value'];