]> git.mxchange.org Git - friendica.git/blobdiff - include/plugin.php
Avoid some PHP warnings, no functional changes
[friendica.git] / include / plugin.php
index 0c43b4d44888f7aff2ace7581bef1956b274da0d..f5f0bb2b294f21ca6126bd46a5b5bdb755f6c060 100644 (file)
@@ -562,7 +562,7 @@ function theme_include($file, $root = '') {
        if ($root !== '' && $root[strlen($root)-1] !== '/') {
                $root = $root . '/';
        }
-       $theme_info = $a->theme_info;
+       $theme_info = get_app()->theme_info;
        if (is_array($theme_info) && array_key_exists('extends',$theme_info)) {
                $parent = $theme_info['extends'];
        } else {