initialize intErrorCode if no Error occured
This commit is contained in:
parent
829a92a10e
commit
659c01ccc3
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ class dba {
|
||||||
# bad workaround to emulate the bizzare behavior of mysql_query
|
# bad workaround to emulate the bizzare behavior of mysql_query
|
||||||
if(in_array($strSQLType, array('INSERT', 'UPDATE', 'DELETE', 'CREATE', 'DROP', 'SET')))
|
if(in_array($strSQLType, array('INSERT', 'UPDATE', 'DELETE', 'CREATE', 'DROP', 'SET')))
|
||||||
$result = true;
|
$result = true;
|
||||||
|
$intErrorCode = false;
|
||||||
|
|
||||||
} catch (\Exception $objException) {
|
} catch (\Exception $objException) {
|
||||||
$result = false;
|
$result = false;
|
||||||
|
|
Loading…
Reference in a new issue