diff --git a/plugins/content_types/page/page_logo.inc b/plugins/content_types/page/page_logo.inc index ae829fa..c00ca5e 100644 --- a/plugins/content_types/page/page_logo.inc +++ b/plugins/content_types/page/page_logo.inc @@ -26,8 +26,9 @@ $plugin = array( */ function ctools_page_logo_content_type_render($subtype, $conf, $panel_args) { $logo = theme_get_setting('logo'); + $block = new stdClass(); + if (!empty($logo)) { - $block = new stdClass(); $image = '' . t('Home') . ''; $block->content = l($image, '', array('html' => TRUE, 'attributes' => array('rel' => 'home', 'id' => 'logo', 'title' => t('Home')))); }