summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
authorChristian Schneider2021-01-26 16:22:23 +0100
committerChristian Schneider2021-01-26 16:22:56 +0100
commit183ee7e7f21a84eb682e8398c41d0b57792756fa (patch)
tree9515bc47d62856e8cfb4c0d5ed1c825c8b886d0b /it_dbi.class
parent83939b20b156ac0cc192eb0edf9eac8654a07d36 (diff)
downloaditools-183ee7e7f21a84eb682e8398c41d0b57792756fa.tar.gz
itools-183ee7e7f21a84eb682e8398c41d0b57792756fa.tar.bz2
itools-183ee7e7f21a84eb682e8398c41d0b57792756fa.zip
Fix error suppression for safety => 0
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 d8dfa1b..6268105 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -579,7 +579,7 @@ function query($query, $p = array())
if (!($result = $this->_query($query, $p)))
{
- if ($result === null)
+ if ($result === null || !$p['safety'])
return false;
$this->_fatal("query(\"$query\") failed");
}