From 22630e64526df2b40a2e624e6a09e1b5a76bb190 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Mon, 6 Nov 2023 13:38:21 +0800 Subject: [PATCH] * Annotation chart getTables method code. --- module/chart/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/chart/model.php b/module/chart/model.php index cdb220dc75..0398eaed82 100644 --- a/module/chart/model.php +++ b/module/chart/model.php @@ -811,7 +811,7 @@ class chartModel extends model { $fieldName = str_replace('.', '', $field); - $sql = preg_replace(array("/$field/", "/`$field`/"), array("$field AS $fieldName", "`$field` AS $fieldName"), $sql, 1); + //$sql = preg_replace(array("/$field/", "/`$field`/"), array("$field AS $fieldName", "`$field` AS $fieldName"), $sql, 1); $field = $tableFieldName; }