From a08666be142c484134c2f10cf0c460c8a3c07682 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 4 Sep 2012 19:49:29 -0700 Subject: unbreak some more stuff --- mod/profile_photo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') 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') -- cgit v1.2.3