diff --git a/3.0/modules/author/helpers/author_block.php b/3.0/modules/author/helpers/author_block.php index 71f479e1..d7477055 100644 --- a/3.0/modules/author/helpers/author_block.php +++ b/3.0/modules/author/helpers/author_block.php @@ -24,6 +24,9 @@ class author_block_Core { static function get($block_id, $theme) { $item = $theme->item; + if (!$item) { + return; + } if ($block_id != 'author' || $item->is_album() ) { return ''; }