diff --git a/www/libs/Class.DB.IO.inc b/www/libs/Class.DB.IO.inc index 0216272f..ed7ee688 100644 --- a/www/libs/Class.DB.IO.inc +++ b/www/libs/Class.DB.IO.inc @@ -785,7 +785,7 @@ if (is_array($this->insert_id)) { $this->warning_id = 32; - $this->_db_error(print_r($this->insert_id), '[db_exec]'); + $this->_db_error($this->cursor, '[db_exec]'); } } } @@ -1514,7 +1514,7 @@ $this->debug('ExecuteData', 'ERROR in STM['.$stm_name.'|'.$this->prepare_cursor[ if (is_array($this->insert_id)) { $this->warning_id = 32; - $this->_db_error(print_r($this->insert_id)); + $this->_db_error(); $this->_db_debug('db', 'DB-Warning '.$stm_name.': insert id data returned as array', 'DB_WARNING'); } elseif (!$this->insert_id)