diff options
author | Urban Müller | 2018-01-29 18:35:27 +0100 |
---|---|---|
committer | Urban Müller | 2018-01-29 18:35:27 +0100 |
commit | f1ec3ab89375825baf7e39a00ff5f75cd3952791 (patch) | |
tree | 31ca54e2b5a4b0053ce5173c1d0d8fc729a45b05 /it_dbi.class | |
parent | b535f5628a483eeacb6794b23d7e723b9c854b64 (diff) | |
download | itools-f1ec3ab89375825baf7e39a00ff5f75cd3952791.tar.gz itools-f1ec3ab89375825baf7e39a00ff5f75cd3952791.tar.bz2 itools-f1ec3ab89375825baf7e39a00ff5f75cd3952791.zip |
re-enable mysql warnings
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 2 |
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"]); } |