]> git.mxchange.org Git - friendica.git/commitdiff
Bugfixing Backend
authorPhilipp Holzer <admin@philipp.info>
Tue, 9 Oct 2018 23:16:51 +0000 (01:16 +0200)
committerPhilipp Holzer <admin@philipp.info>
Tue, 9 Oct 2018 23:16:51 +0000 (01:16 +0200)
src/App.php

index 293d9d3a565f8858b2369e844c20e07fe1d2c5fa..e947c13ffbd4602a5cf6dda4639f2ace458631af 100644 (file)
@@ -1065,7 +1065,7 @@ class App
                ];
 
                // Check if current module is in backend or backend flag is set
-               $this->isBackend = (in_array($this->module, $backends) || $this->isBackend);
+               $this->isBackend = (in_array($this->module, $backends) || $backend || $this->isBackend);
        }
 
        /**