aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile_photo.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r--mod/profile_photo.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index 445045cb9..3bde6a99d 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -8,7 +8,8 @@ function profile_photo_init(&$a) {
return;
}
- profile_load($a,$a->identity['entity_address']);
+ $channel = $a->get_channel();
+ profile_load($a,$channel['channel_address']);
}