diff options
author | Max Kostikov <max@kostikov.co> | 2020-12-04 14:45:27 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2020-12-04 14:45:27 +0100 |
commit | 92eb7a0be4faac80ea86a88b1c249e273dbfeb9f (patch) | |
tree | 4e98c0c62c4018a9870792d98fc4cf2ba0d7a4f2 | |
parent | b26b1c08201e7425be8204f6d174f6310c1d2919 (diff) | |
download | volse-hubzilla-92eb7a0be4faac80ea86a88b1c249e273dbfeb9f.tar.gz volse-hubzilla-92eb7a0be4faac80ea86a88b1c249e273dbfeb9f.tar.bz2 volse-hubzilla-92eb7a0be4faac80ea86a88b1c249e273dbfeb9f.zip |
Formatting
-rw-r--r-- | Zotlabs/Module/Photo.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php index 1e8fc94df..01edda9ae 100644 --- a/Zotlabs/Module/Photo.php +++ b/Zotlabs/Module/Photo.php @@ -83,15 +83,15 @@ class Photo extends \Zotlabs\Web\Controller { } if(! $data) { - $d = [ 'imgscale' => $resolution, 'channel_id' => $uid, 'default' => $default, 'data' => '', 'mimetype' => '' ]; - call_hooks('get_profile_photo',$d); - - $resolution = $d['imgscale']; - $uid = $d['channel_id']; - $default = $d['default']; - $data = $d['data']; - $mimetype = $d['mimetype']; - $modified = 0; + $d = [ 'imgscale' => $resolution, 'channel_id' => $uid, 'default' => $default, 'data' => '', 'mimetype' => '' ]; + call_hooks('get_profile_photo',$d); + + $resolution = $d['imgscale']; + $uid = $d['channel_id']; + $default = $d['default']; + $data = $d['data']; + $mimetype = $d['mimetype']; + $modified = 0; } } |