small changes to a couple of lookup functions which we need to use a bit more
This commit is contained in:
@@ -543,7 +543,7 @@ function widget_photo_albums($arr) {
|
||||
$channelx = channelx_by_n($a->profile['profile_uid']);
|
||||
if((! $channelx) || (! perm_is_allowed($a->profile['profile_uid'],get_observer_hash(),'view_photos')))
|
||||
return '';
|
||||
return photos_album_widget($channelx[0],$a->get_observer());
|
||||
return photos_album_widget($channelx,$a->get_observer());
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user