mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Closes #1801 Code cleanup. Deprecated method errors added.
This commit is contained in:
@@ -1027,7 +1027,7 @@ if ($perform_search)
|
||||
if (isset($_GET['t'][$google_id]) && ($_GET['t']==$google_id) && $_GET['t'][$google_id])
|
||||
{
|
||||
// echo "We think google should be used using checkboxes<br />";
|
||||
header("location:http://www.google.com/search?q=".stripslashes(str_replace(" ", "+", $query)));
|
||||
e107::redirect("http://www.google.com/search?q=".stripslashes(str_replace(" ", "+", $query)));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@@ -1035,7 +1035,7 @@ if ($perform_search)
|
||||
{
|
||||
if (isset($_GET['t']) && $_GET['t'] == $google_id)
|
||||
{
|
||||
header("location:http://www.google.com/search?q=".stripslashes(str_replace(" ", "+", $query)));
|
||||
e107::redirect("http://www.google.com/search?q=".stripslashes(str_replace(" ", "+", $query)));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user