From 1dfe246e0fcf679386451d33563d326d9387ac59 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Wed, 15 Mar 2017 14:04:25 +0900 Subject: [PATCH] Remove print_r on multiple returning data warning --- www/libs/Class.DB.IO.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)