diff options
author | friendica <info@friendica.com> | 2012-02-16 23:58:07 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-16 23:58:07 -0800 |
commit | 8ff6cb84063d82ccf32a4c6fb65f70da91385c8f (patch) | |
tree | df96540cb461ae78503e3ec2ea96c426458211f1 /mod/regmod.php | |
parent | 0500fc2826e01d0570139fe5218f223d3a918970 (diff) | |
download | volse-hubzilla-8ff6cb84063d82ccf32a4c6fb65f70da91385c8f.tar.gz volse-hubzilla-8ff6cb84063d82ccf32a4c6fb65f70da91385c8f.tar.bz2 volse-hubzilla-8ff6cb84063d82ccf32a4c6fb65f70da91385c8f.zip |
a couple more items to make sure forum delegates can't access if the forum login is shared with the site admin account
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 ''; } |