diff options
author | friendica <info@friendica.com> | 2014-02-20 17:20:24 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-20 17:20:24 -0800 |
commit | e12f6f1bd93bb42bf0fe9fc9d9a1ff08cd162a0d (patch) | |
tree | 6b3736b42759800b585e733c37bd7e4633fd8605 /include/widgets.php | |
parent | 057e6660ca6d7eadb2119b2467191510b916c04c (diff) | |
download | volse-hubzilla-e12f6f1bd93bb42bf0fe9fc9d9a1ff08cd162a0d.tar.gz volse-hubzilla-e12f6f1bd93bb42bf0fe9fc9d9a1ff08cd162a0d.tar.bz2 volse-hubzilla-e12f6f1bd93bb42bf0fe9fc9d9a1ff08cd162a0d.zip |
small changes to a couple of lookup functions which we need to use a bit more
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index 3c2333323..4a5ae9de7 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -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()); } |