a couple more items to make sure forum delegates can't access if the forum login is shared with the site admin account
This commit is contained in:
@@ -107,7 +107,7 @@ function regmod_content(&$a) {
|
||||
return $o;
|
||||
}
|
||||
|
||||
if(!is_site_admin()) {
|
||||
if((!is_site_admin()) || (x($_SESSION,'submanage') && intval($_SESSION['submanage']))) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user