aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-28 11:13:30 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-28 11:13:30 +0200
commitf0e8c9ead9502acf111f524b9a9232a3f0e2fa70 (patch)
tree5d16fbda8bc43dd52b9165334d5ffb9c72d4f8ad /Zotlabs
parentd92e9f38f8dce6b24d39e24b2ec2584abac0e6d3 (diff)
downloadvolse-hubzilla-f0e8c9ead9502acf111f524b9a9232a3f0e2fa70.tar.gz
volse-hubzilla-f0e8c9ead9502acf111f524b9a9232a3f0e2fa70.tar.bz2
volse-hubzilla-f0e8c9ead9502acf111f524b9a9232a3f0e2fa70.zip
fix wrong array key for profile photo resloution
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index d37ae07ac..4332fd6e9 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -63,7 +63,7 @@ class Photo extends \Zotlabs\Web\Controller {
$d = [ 'imgscale' => $resolution, 'channel_id' => $uid, 'default' => $default, 'data' => '', 'mimetype' => '' ];
call_hooks('get_profile_photo',$d);
- $resolution = $d['resolution'];
+ $resolution = $d['imgscale'];
$uid = $d['channel_id'];
$default = $d['default'];
$data = $d['data'];