diff options
author | marijus <mario@localhost.localdomain> | 2013-12-14 09:57:57 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2013-12-14 09:57:57 +0100 |
commit | c3c7a068332ae08aea5eeb8eaf820e34c9cf210b (patch) | |
tree | 91548f100a940632833648211ccb9893d0ca1042 /mod/photos.php | |
parent | ed5f725741455f9282a0dc38cd51b07e74b50ab1 (diff) | |
parent | a4624d29791af75fea7907caa4c8cf7a1cca90a0 (diff) | |
download | volse-hubzilla-c3c7a068332ae08aea5eeb8eaf820e34c9cf210b.tar.gz volse-hubzilla-c3c7a068332ae08aea5eeb8eaf820e34c9cf210b.tar.bz2 volse-hubzilla-c3c7a068332ae08aea5eeb8eaf820e34c9cf210b.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php index 64ca86941..0e23aa5bf 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -19,6 +19,9 @@ function photos_init(&$a) { if(argc() > 1) { $nick = argv(1); + + profile_load($a,$nick); + $channelx = channelx_by_nick($nick); if(! $channelx) @@ -35,7 +38,7 @@ function photos_init(&$a) { - $a->set_widget('vcard',vcard_from_xchan($a->data['channel'],$observer)); + $a->set_widget('vcard',vcard_from_xchan('',$observer)); head_set_icon($a->data['channel']['xchan_photo_s']); if($a->data['perms']['view_photos']) { $a->data['albums'] = photos_albums_list($a->data['channel'],$observer); |