diff --git a/include/dba_pdo.php b/include/dba_pdo.php index 7cd8c638..eed9ea12 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;