fix db update for mac accounting (and enable spitting out sql query on error)

git-svn-id: http://www.observium.org/svn/observer/trunk@2386 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-06-01 10:21:09 +00:00
parent 99937c4d3b
commit 402c170b0b
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ function dbUpdate($data, $table, $where = null, $parameters = array()) {
if(dbQuery($sql, $data)) {
$return = mysql_affected_rows();
} else {
#echo("$fullSql");
echo("$fullSql");
trigger_error('QDB - Update failed.', E_USER_WARNING);
$return = false;
}