diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-04-25 21:34:47 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-04-25 21:34:47 +0200 |
commit | 2d8065a78089412d6947e11e52bd290892fd6566 (patch) | |
tree | 26411b06245b3aa9b64b9f0de87e19f4c489a0e3 /Zotlabs/Module/Profile_photo.php | |
parent | b94da93c74fa3cebee50f7756a148ef1df0efe07 (diff) | |
download | volse-hubzilla-2d8065a78089412d6947e11e52bd290892fd6566.tar.gz volse-hubzilla-2d8065a78089412d6947e11e52bd290892fd6566.tar.bz2 volse-hubzilla-2d8065a78089412d6947e11e52bd290892fd6566.zip |
whitespace
Diffstat (limited to 'Zotlabs/Module/Profile_photo.php')
-rw-r--r-- | Zotlabs/Module/Profile_photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Profile_photo.php b/Zotlabs/Module/Profile_photo.php index ecfbca662..a5e87bbe2 100644 --- a/Zotlabs/Module/Profile_photo.php +++ b/Zotlabs/Module/Profile_photo.php @@ -403,10 +403,10 @@ class Profile_photo extends Controller { foreach ($r as $rr) { if ($rr['is_default']) { $default_profile_id = intval($rr['id']); + if (!$profile_id) { $profile_id = $default_profile_id; } - } if ($profile_id === intval($rr['id'])) { |