mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 19:00:26 +02:00
Check class of CUSTOM=search
This commit is contained in:
@@ -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 "";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user