Also search default limit must be changed. How about code a little bit later, obsolete or not? What I understand it never get parsed.
PHP Code:
if (($option != "start") && ($option != "any") && ($option != "exact")) { $option = SEARCH_DEFAULT_MODE; }
if (($limite != 10) && ($limite != 30) && ($limite != 100)) { $limite = SEARCH_DEFAULT_LIMIT; }
//if (!$option) {
// $option = SEARCH_DEFAULT_MODE;
//}
//if ($limite) {
// settype ($limite,"integer");
//}
//else {
// $limite = SEARCH_DEFAULT_LIMIT;
//}