From 14261dbd9cb5a17d2679f6741a091c5efba57134 Mon Sep 17 00:00:00 2001 From: Oldperl <44996956+oldperl@users.noreply.github.com> Date: Mon, 19 Aug 2019 12:02:54 +0000 Subject: [PATCH] fixes MySQL strict mode --- conlib/local.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conlib/local.php b/conlib/local.php index 0dfa025..b15c158 100644 --- a/conlib/local.php +++ b/conlib/local.php @@ -71,6 +71,9 @@ class DB_ConLite extends DB_Sql { // HerrB: Checked and disabled. Kills umlauts, if tables are latin1_general. // try to use the new connection and get the needed encryption //$this->query("SET NAMES 'utf8'"); + + // modify mysql strict mode + $this->query('SET SESSION sql_mode = "NO_ENGINE_SUBSTITUTION"'); } /**