fix wrong array key for profile photo resloution

This commit is contained in:
Mario Vavti 2016-09-28 11:13:30 +02:00
parent d92e9f38f8
commit f0e8c9ead9

View File

@ -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'];