X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fplugin.php;h=0c43b4d44888f7aff2ace7581bef1956b274da0d;hb=2148a2bdb0cb38d3a085109eeeb6acc5d65484e6;hp=9021f814b1c80d27963049ef334029cb002216c4;hpb=f4652d6e5026abe7d7b352d2307622bd567aa433;p=friendica.git diff --git a/include/plugin.php b/include/plugin.php index 9021f814b1..0c43b4d448 100644 --- a/include/plugin.php +++ b/include/plugin.php @@ -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';