]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/config.php
Merge pull request #10986 from annando/issue-10983
[friendica.git] / view / theme / frio / config.php
index 38334e1d187573b2a2f1f1d305bede0e43bdd1af..ee4f036607c89f3ba8ac161008cf24e8f6c36938 100644 (file)
@@ -57,7 +57,7 @@ function theme_post(App $a)
 
 function theme_admin_post(App $a)
 {
-       if (!is_site_admin()) {
+       if (!$a->isSiteAdmin()) {
                return;
        }