here is line 87 and surrounding lines
Code:
		if (is_null($name)) {
			// Assume name will be used.. load name from database
	Line 87 -> 		$ez_page_table = (defined('TABLE_EZPAGES_CONTENT') && $sniffer->table_exists(TABLE_EZPAGES_CONTENT)) ? TABLE_EZPAGES_CONTENT : TABLE_EZPAGES;
			
			$ez_page_name_result = $db->Execute("
				SELECT
					pages_title
				FROM
					" . $ez_page_table . "
				WHERE
					pages_id = " . (int) $id . "
				AND
					languages_id = " . (int) $language_id);
			
			$name = $ez_page_name_result->fields['pages_title'];
		}