From b298b43b2fba90a7aa8cdf586e07254c0265a553 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 22 Nov 2022 15:02:27 +0800 Subject: [PATCH] * Fix bug #30097. --- module/dev/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/dev/model.php b/module/dev/model.php index 5f89c2cb7e..2380ab8e5a 100644 --- a/module/dev/model.php +++ b/module/dev/model.php @@ -25,6 +25,7 @@ class devModel extends model $tables[$group][$subTable] = $table; } } + $this->dbh->setAttribute(PDO::ATTR_CASE, PDO::CASE_NATURAL); return $tables; } @@ -60,6 +61,7 @@ class devModel extends model } catch (PDOException $e) { + $this->dbh->setAttribute(PDO::ATTR_CASE, PDO::CASE_NATURAL); $this->sqlError($e); }