fix wrong array key for profile photo resloution
This commit is contained in:
parent
d92e9f38f8
commit
f0e8c9ead9
@ -63,7 +63,7 @@ class Photo extends \Zotlabs\Web\Controller {
|
|||||||
$d = [ 'imgscale' => $resolution, 'channel_id' => $uid, 'default' => $default, 'data' => '', 'mimetype' => '' ];
|
$d = [ 'imgscale' => $resolution, 'channel_id' => $uid, 'default' => $default, 'data' => '', 'mimetype' => '' ];
|
||||||
call_hooks('get_profile_photo',$d);
|
call_hooks('get_profile_photo',$d);
|
||||||
|
|
||||||
$resolution = $d['resolution'];
|
$resolution = $d['imgscale'];
|
||||||
$uid = $d['channel_id'];
|
$uid = $d['channel_id'];
|
||||||
$default = $d['default'];
|
$default = $d['default'];
|
||||||
$data = $d['data'];
|
$data = $d['data'];
|
||||||
|
Reference in New Issue
Block a user