Vergleich search.php - 1.01 - 1.02

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 517Zeile 517
	}
else
{

	}
else
{

		$op = "";

		$op = "AND";

	}
if($mybb->input['keywords']) {
$wheresql = "(1=0 ";

	}
if($mybb->input['keywords']) {
$wheresql = "(1=0 ";

Zeile 665Zeile 665
	$plugins->run_hooks("search_do_search_process");
$sid = $db->insert_id();
$plugins->run_hooks("search_do_search_end");

	$plugins->run_hooks("search_do_search_process");
$sid = $db->insert_id();
$plugins->run_hooks("search_do_search_end");

 
	$mybb->input['sortby'] = htmlspecialchars($mybb->input['sortby']);
$mybb->input['sortordr'] = htmlspecialchars($mybb->input['sortordr']);

	redirect("search.php?action=results&sid=$sid&sortby=".$mybb->input['sortby']."&order=".$mybb->input['sortordr'], $lang->redirect_searchresults);
}
else

	redirect("search.php?action=results&sid=$sid&sortby=".$mybb->input['sortby']."&order=".$mybb->input['sortordr'], $lang->redirect_searchresults);
}
else