From 1637bf965a7f48a2210ee17cb9fe82622c63b022 Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Tue, 28 Mar 2023 12:18:41 +0200 Subject: [PATCH] bugfix mustal default values forced lower case --- vendor/mustal/mustal_mysql_upgrade_tool.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/mustal/mustal_mysql_upgrade_tool.php b/vendor/mustal/mustal_mysql_upgrade_tool.php index c181c084..3f344f53 100644 --- a/vendor/mustal/mustal_mysql_upgrade_tool.php +++ b/vendor/mustal/mustal_mysql_upgrade_tool.php @@ -469,9 +469,9 @@ function mustal_column_sql_create_property_definition(string $property, string $ // Replaces different variants of the same function mustal_to allow comparison function mustal_sql_replace_reserved_functions(array &$column, array $replacers) { - $result = strtolower($column['Default']); + $result = $column['Default']; foreach ($replacers as $replace) { - if ($result == $replace[0]) { + if (strtolower($column['Default']) == $replace[0]) { $result = $replace[1]; } }