From 2d8065a78089412d6947e11e52bd290892fd6566 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 25 Apr 2022 21:34:47 +0200 Subject: whitespace --- Zotlabs/Module/Profile_photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') 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'])) { -- cgit v1.2.3