summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2017-12-22 11:34:01 +0100
committerUrban Müller2017-12-22 11:34:01 +0100
commitb1af8f0030e4d65720291fc8a48b2c4c89861f39 (patch)
tree7a5833beb55c6d0a2e0161c07001bcbf12ca0270
parent9103b9036b5594e606ebf7d86daef9056545889b (diff)
downloaditools-b1af8f0030e4d65720291fc8a48b2c4c89861f39.tar.gz
itools-b1af8f0030e4d65720291fc8a48b2c4c89861f39.tar.bz2
itools-b1af8f0030e4d65720291fc8a48b2c4c89861f39.zip
disable until code fixed
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
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"]);
}