1
0
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:
e107steved 2007-02-04 18:07:22 +00:00
parent 90cce5fef0
commit bd6c0780aa

View File

@ -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 "";
} }