Some more notices fixed (#672)

This commit is contained in:
Michael Vogel 2018-07-26 21:20:12 +02:00 committed by Hypolite Petovan
parent f4763f67ad
commit 31d0fac64a
3 changed files with 6 additions and 4 deletions

View file

@ -139,7 +139,7 @@ function superblock_item_photo_menu(&$a,&$b) {
$blocked = false;
$author = $b['item']['author-link'];
if(is_array($a->data['superblock'])) {
if(!empty($a->data['superblock'])) {
foreach($a->data['superblock'] as $bloke) {
if(link_compare($bloke,$author)) {
$blocked = true;