aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-09-04 19:49:29 -0700
committerfriendica <info@friendica.com>2012-09-04 19:49:29 -0700
commita08666be142c484134c2f10cf0c460c8a3c07682 (patch)
tree68a730081f8d0fcacf966a5d088c4180e67b344a /mod
parent576559fd02bb12cbba53c11cec4a89f70ff7a132 (diff)
downloadvolse-hubzilla-a08666be142c484134c2f10cf0c460c8a3c07682.tar.gz
volse-hubzilla-a08666be142c484134c2f10cf0c460c8a3c07682.tar.bz2
volse-hubzilla-a08666be142c484134c2f10cf0c460c8a3c07682.zip
unbreak some more stuff
Diffstat (limited to 'mod')
-rw-r--r--mod/profile_photo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index 14277e62e..445045cb9 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -8,7 +8,7 @@ function profile_photo_init(&$a) {
return;
}
- profile_load($a,$a->user['nickname']);
+ profile_load($a,$a->identity['entity_address']);
}
@@ -166,7 +166,7 @@ function profile_photo_content(&$a) {
notice( t('Permission denied.') . EOL );
return;
}
-
+
$newuser = false;
if($a->argc == 2 && $a->argv[1] === 'new')