X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregmod.php;h=17e728ba2d16266531c791316710e0403aae068d;hb=4690d00141352db8ca96359cbbf65ce6eb4345c4;hp=76ea4062ede8becd5789b1b54a8f3324ce4148ee;hpb=8aa25523721303b6883e1a793f20997f8a33ec0a;p=friendica.git diff --git a/mod/regmod.php b/mod/regmod.php index 76ea4062ed..17e728ba2d 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 ''; }