Vergleich search.php - 1.01 - 1.04

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 507Zeile 507
	{
$lookin = "p.subject";
}

	{
$lookin = "p.subject";
}

	if($mybb->input['srchtype'] == 1)
{
$op = "AND";
}
elseif($mybb->input['srchtype'] == 3)
{
$op = "||";
}
else
{
$op = "";
}

	$op = "";












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

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

Zeile 665Zeile 654
	$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