* Fix errors of api.

This commit is contained in:
zhujinyong
2021-11-29 13:09:05 +08:00
parent 4b57e8627b
commit be26a7c731
10 changed files with 61 additions and 25 deletions
+10
View File
@@ -601,6 +601,16 @@ class baseEntry
if($val !== '') $idList[] = (int) $val;
}
return $idList;
case 'stringList':
$values = explode(',', $value);
if(empty($values)) return array();
$stringList = array();
foreach($values as $val)
{
if($val !== '') $stringList[] = $val;
}
return $stringList;
default:
return $value;
}