mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 17:01:43 +02:00
Check class of CUSTOM=search
This commit is contained in:
@@ -27,7 +27,7 @@ switch($custom_query[0])
|
||||
break;
|
||||
|
||||
case "search":
|
||||
if(!USER && $pref['search_restrict'] == 1)
|
||||
if(!check_class($pref['search_restrict']))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user