diff options
author | friendica <info@friendica.com> | 2013-12-13 13:30:33 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-13 13:30:33 -0800 |
commit | 0215043826c2c036c3a2c88fa6e42089138c7c52 (patch) | |
tree | cb0eb5f53befcef093b19b49387c5cc7e7fa8e1e /mod | |
parent | 94975f8d3081051df48b6fdd73be3f4be5484cf6 (diff) | |
download | volse-hubzilla-0215043826c2c036c3a2c88fa6e42089138c7c52.tar.gz volse-hubzilla-0215043826c2c036c3a2c88fa6e42089138c7c52.tar.bz2 volse-hubzilla-0215043826c2c036c3a2c88fa6e42089138c7c52.zip |
prepare for Comanchification of mod_photos
Diffstat (limited to 'mod')
-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); |