Index: include/db.inc.php =================================================================== --- include/db.inc.php (revision 17053) +++ include/db.inc.php (working copy) @@ -466,11 +466,11 @@ $options = array(); if($DB['TRANSACTIONS']) $options['autocommit'] = DB2_AUTOCOMMIT_OFF; - if(!$result = db2_prepare($DB['DB'], $query)){ + if(!$result = db2_prepare($DB['DB'], $query, $options)){ $e = @db2_stmt_errormsg($result); error('SQL error ['.$query.'] in ['.$e.']'); } - else if(true !== @db2_execute($result, $options)){ + else if(true !== @db2_execute($result)){ $e = @db2_stmt_errormsg($result); error('SQL error ['.$query.'] in ['.$e.']'); $result = false;