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; }