diff options
Diffstat (limited to 'mod/regmod.php')
-rwxr-xr-x | mod/regmod.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/regmod.php b/mod/regmod.php index 76ea4062e..17e728ba2 100755 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -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 ''; } |