From 183ee7e7f21a84eb682e8398c41d0b57792756fa Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 26 Jan 2021 16:22:23 +0100 Subject: Fix error suppression for safety => 0 --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_dbi.class') 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"); } -- cgit v1.2.3