diff --git a/include/dba_pdo.php b/include/dba_pdo.php index 7cd8c638e7..eed9ea1251 100644 --- a/include/dba_pdo.php +++ b/include/dba_pdo.php @@ -126,6 +126,7 @@ class dba { # bad workaround to emulate the bizzare behavior of mysql_query if(in_array($strSQLType, array('INSERT', 'UPDATE', 'DELETE', 'CREATE', 'DROP', 'SET'))) $result = true; + $intErrorCode = false; } catch (\Exception $objException) { $result = false;