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 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");
}