Vergleich inc/functions_search.php - 1.4.10 - 1.4.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: functions_search.php 4554 2009-11-29 00:23:57Z RyanGordon $

 * $Id: functions_search.php 5379 2011-02-21 11:06:42Z Tomm $

 */

/**

 */

/**

Zeile 238Zeile 238
	$keywords = preg_replace("#\s+#s", " ", $keywords);

// Search for "and" or "or" and remove if it's at the beginning

	$keywords = preg_replace("#\s+#s", " ", $keywords);

// Search for "and" or "or" and remove if it's at the beginning

 
	$keywords = trim($keywords);

	if(my_strpos($keywords, "or") !== false && my_strpos($keywords, "or") == 0)
{
$keywords = substr_replace($keywords, "", 0, 2);

	if(my_strpos($keywords, "or") !== false && my_strpos($keywords, "or") == 0)
{
$keywords = substr_replace($keywords, "", 0, 2);

Zeile 247Zeile 248
		$keywords = substr_replace($keywords, "", 0, 3);
}


		$keywords = substr_replace($keywords, "", 0, 3);
}


	return trim($keywords);

	return $keywords;

}

/**

}

/**