protected function _escape($str)
	{
		if (is_array($str))
		{
			error_log('Param passed to _escape($str) was an array: ' . print_r($str, true));
			$str = '';
		}

		return $this->_conn->real_escape_string($str);
	}