mirror of
https://github.com/e107inc/e107.git
synced 2025-02-19 22:14:45 +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;
|
break;
|
||||||
|
|
||||||
case "search":
|
case "search":
|
||||||
if(!USER && $pref['search_restrict'] == 1)
|
if(!check_class($pref['search_restrict']))
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user