]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/Themes/Embed.php
post/thread views are renamed, search bugs fixed
[friendica.git] / src / Module / Admin / Themes / Embed.php
index 71824c6ccb64941ad6c0dafa7aedbd87a84f6cfd..a308b43cb52d727170aa6f60471194d9a809371a 100644 (file)
@@ -38,7 +38,7 @@ class Embed extends BaseAdmin
 
        public static function post(array $parameters = [])
        {
-               parent::post($parameters);
+               self::checkAdminAccess();
 
                $theme = Strings::sanitizeFilePathItem($parameters['theme']);
                if (is_file("view/theme/$theme/config.php")) {