]> git.mxchange.org Git - friendica.git/blobdiff - mod/regmod.php
Merge pull request #40 from simonlnu/newsmilies
[friendica.git] / mod / regmod.php
old mode 100644 (file)
new mode 100755 (executable)
index 76ea406..17e728b
@@ -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 '';
        }