mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
Check class of CUSTOM=search
This commit is contained in:
parent
90cce5fef0
commit
bd6c0780aa
@ -27,7 +27,7 @@ switch($custom_query[0])
|
||||
break;
|
||||
|
||||
case "search":
|
||||
if(!USER && $pref['search_restrict'] == 1)
|
||||
if(!check_class($pref['search_restrict']))
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user