1
0
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:
Cameron
2020-12-22 14:48:28 -08:00
parent 881670d92c
commit 402d1f4126
37 changed files with 347 additions and 393 deletions

View File

@@ -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;
}
}