summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index b91f6bf..7ea446f 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 (it::is_devel() && $messages) # FIXME 2018-02 UM enable when ready
+ if ($messages)
it::error(['title' => "Mysql warning: " . $messages[0], 'body' => "$query\n\n" . join("\n", $messages) . "\n"]);
}