1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

PHP8 Fixes. Renamed 'search' class (in search.php) to 'search_front' to avoid conflicts.

This commit is contained in:
Cameron
2021-01-20 12:07:29 -08:00
parent 17dfe4149e
commit ab75f150f8
7 changed files with 39 additions and 25 deletions

View File

@@ -43,7 +43,7 @@ if (isset($_GET['t']) && is_numeric($_GET['t']))
}
class search extends e_shortcode
class search_front extends e_shortcode
{
private $search_prefs = array();
@@ -1006,7 +1006,7 @@ class search extends e_shortcode
}
$srchObj = new search;
$srchObj = new search_front;
$search_info = $srchObj->getConfig();
$search_prefs = $srchObj->getPrefs();