Replace AND and OR in PHP conditions by && and ||
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user