* Fix compatibility.

This commit is contained in:
zhujinyong
2021-11-09 20:43:53 +08:00
parent 9705edb48e
commit ea45b8f9ea
3 changed files with 2 additions and 21 deletions
+1 -1
View File
@@ -544,7 +544,7 @@ class baseEntry
if(!$value or $value == '0000-00-00') return null;
return $value;
case 'bool':
return boolval($value) ? true : false;
return !empty($value);
case 'idList':
$values = explode(',', $value);
if(empty($values)) return array();