From 92f0c5d1dd211f76886dd3966bb2939141ad1d1b Mon Sep 17 00:00:00 2001 From: Shawn Bulen Date: Wed, 6 May 2026 10:06:20 -0700 Subject: [PATCH 1/2] Fix missing include Signed-off-by: Shawn Bulen --- Sources/Profile-Modify.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Profile-Modify.php b/Sources/Profile-Modify.php index 001267064e..1af5354510 100644 --- a/Sources/Profile-Modify.php +++ b/Sources/Profile-Modify.php @@ -3496,6 +3496,7 @@ function profileSaveAvatarData(&$value) return false; require_once($sourcedir . '/ManageAttachments.php'); + require_once($sourcedir . '/Subs-Graphics.php'); call_integration_hook('before_profile_save_avatar', array(&$value)); From 5e6d44d5df94da4481fbb90110f9c35cf9e2fc5e Mon Sep 17 00:00:00 2001 From: Shawn Bulen Date: Wed, 6 May 2026 10:09:41 -0700 Subject: [PATCH 2/2] Allow selection of svg Signed-off-by: Shawn Bulen --- Themes/default/Profile.template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themes/default/Profile.template.php b/Themes/default/Profile.template.php index 00d613134d..f11a68ec38 100644 --- a/Themes/default/Profile.template.php +++ b/Themes/default/Profile.template.php @@ -2991,7 +2991,7 @@ function template_profile_avatar_select() echo '
', $context['member']['avatar']['choice'] == 'upload' ? '
' : '', ' - ', template_max_size('upload'), ' + ', template_max_size('upload'), ' ', (!empty($context['member']['avatar']['id_attach']) ? '
' : ''), '
';