* Number is treated as a string at chart function ajaxGetSysOption.

This commit is contained in:
songchenxuan
2023-11-03 12:58:03 +08:00
parent 28c8603788
commit cb366d0719
+1
View File
@@ -690,6 +690,7 @@ class chartModel extends model
}
break;
case 'string':
case 'number':
if($field and $sql)
{
$cols = $this->dbh->query($sql)->fetchAll();