]> git.mxchange.org Git - friendica.git/blobdiff - include/plugin.php
Merge pull request #3542 from annando/1706-not-done
[friendica.git] / include / plugin.php
index 9021f814b1c80d27963049ef334029cb002216c4..0c43b4d44888f7aff2ace7581bef1956b274da0d 100644 (file)
@@ -563,7 +563,7 @@ function theme_include($file, $root = '') {
                $root = $root . '/';
        }
        $theme_info = $a->theme_info;
-       if (is_array($theme_info) AND array_key_exists('extends',$theme_info)) {
+       if (is_array($theme_info) && array_key_exists('extends',$theme_info)) {
                $parent = $theme_info['extends'];
        } else {
                $parent = 'NOPATH';