From b1af8f0030e4d65720291fc8a48b2c4c89861f39 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 22 Dec 2017 11:34:01 +0100 Subject: disable until code fixed --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_dbi.class b/it_dbi.class index 7ea446f..b91f6bf 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -540,7 +540,7 @@ function query($query, $p = array()) $messages[] = $warning->message . " [error $warning->errno]"; } while ($warning->next() && ++$checked < 20); - if ($messages) + if (it::is_devel() && $messages) # FIXME 2018-02 UM enable when ready it::error(['title' => "Mysql warning: " . $messages[0], 'body' => "$query\n\n" . join("\n", $messages) . "\n"]); } -- cgit v1.2.3