diff options
author | friendica <info@friendica.com> | 2012-12-08 14:18:02 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-08 14:18:02 -0800 |
commit | c70777e19c6b48fe128e7ee9cbcaefb1de84c793 (patch) | |
tree | 3f3a7b4cdd841b1ed37561c34c67de3f9e4e4a48 /include/plugin.php | |
parent | ddedbda9660c35c908c0612c54536664849255cd (diff) | |
download | volse-hubzilla-c70777e19c6b48fe128e7ee9cbcaefb1de84c793.tar.gz volse-hubzilla-c70777e19c6b48fe128e7ee9cbcaefb1de84c793.tar.bz2 volse-hubzilla-c70777e19c6b48fe128e7ee9cbcaefb1de84c793.zip |
a bit of e_all cleanup
Diffstat (limited to 'include/plugin.php')
-rw-r--r-- | include/plugin.php | 7 |
1 files changed, 5 insertions, 2 deletions
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) { |