aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-12-14 09:57:57 +0100
committermarijus <mario@localhost.localdomain>2013-12-14 09:57:57 +0100
commitc3c7a068332ae08aea5eeb8eaf820e34c9cf210b (patch)
tree91548f100a940632833648211ccb9893d0ca1042 /mod/photos.php
parented5f725741455f9282a0dc38cd51b07e74b50ab1 (diff)
parenta4624d29791af75fea7907caa4c8cf7a1cca90a0 (diff)
downloadvolse-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.php5
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);