mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Profiler/Realms
* generally allow all realm types * filter visibility/access by userGroup
This commit is contained in:
@@ -501,6 +501,9 @@ class AjaxProfile extends AjaxHandler
|
||||
if ($rId == $pBase['realm'])
|
||||
break;
|
||||
|
||||
if (!$rData) // realm doesn't exist or access is restricted
|
||||
return '';
|
||||
|
||||
$profile = array(
|
||||
'id' => $pBase['id'],
|
||||
'source' => $pBase['id'],
|
||||
|
||||
Reference in New Issue
Block a user