From cb366d0719459ec61b379874eb3f853d82c9cae2 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Fri, 3 Nov 2023 12:58:03 +0800 Subject: [PATCH] * Number is treated as a string at chart function ajaxGetSysOption. --- module/chart/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/chart/model.php b/module/chart/model.php index ec3412b2e1..3e3dd2e483 100644 --- a/module/chart/model.php +++ b/module/chart/model.php @@ -690,6 +690,7 @@ class chartModel extends model } break; case 'string': + case 'number': if($field and $sql) { $cols = $this->dbh->query($sql)->fetchAll();