initialize intErrorCode if no Error occured

pull/1048/head
Tobias Diekershoff 2014-07-11 07:37:27 +02:00
rodzic 829a92a10e
commit 659c01ccc3
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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;