From c70777e19c6b48fe128e7ee9cbcaefb1de84c793 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 8 Dec 2012 14:18:02 -0800 Subject: a bit of e_all cleanup --- include/plugin.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/plugin.php') diff --git a/include/plugin.php b/include/plugin.php index c5039692a..46a659ddc 100644 --- a/include/plugin.php +++ b/include/plugin.php @@ -484,8 +484,11 @@ function theme_include($file) { 'view/$file' ); - $parent = get_app()->theme_info['extends']; - if(! $parent) + $theme_info = get_app()->theme_info; + + if(array_key_exists('extends',$theme_info)) + $parent = $theme_info['extends']; + else $parent = 'NOPATH'; foreach($paths as $p) { -- cgit v1.2.3