diff options
Diffstat (limited to 'it_dbi.class')
| -rw-r--r-- | it_dbi.class | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/it_dbi.class b/it_dbi.class index f59d779..ee6ce08 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -919,8 +919,8 @@ function escape_string($str)   */  function escape_name($str)  { -    $this->_connect(); -    return $this->_escape_name($str); +	$this->_connect(); +	return $this->_escape_name($str);  }  /** @@ -1113,7 +1113,7 @@ function _query($query, $p)  			$this->_connect(array('reconnect' => true));  			$result = mysqli_query($this->_link, $query, $p['unbuffered'] ? MYSQLI_USE_RESULT : MYSQLI_STORE_RESULT);  		} -    } +	}  	$this->_affectedrows = $this->_link->affected_rows; # get_warnings() clobbers this  	$this->_insertid = mysqli_insert_id($this->_link); # get_warnings() clobbers this |