From a3b3a8a34da818221838f526f8cab7aafab84760 Mon Sep 17 00:00:00 2001 From: Yannick nsenga romeo Date: Thu, 10 Aug 2023 01:36:32 +0200 Subject: [PATCH] Fix: broken icon image when trying to switch to a theme that alters icon colors --- modules/themes/modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/themes/modules.php b/modules/themes/modules.php index 766f113e10..e602883df1 100644 --- a/modules/themes/modules.php +++ b/modules/themes/modules.php @@ -190,7 +190,7 @@ function hm_theme_icons($color='white') { $raw = rawurldecode(Hm_Image_Sources::$$name); $pre = substr($raw, 0, 19); $img = substr($raw, 19); - Hm_Image_Sources::$$name = $pre.rawurlencode(str_replace('/>', 'fill="'.$color.'" />', $img)); + Hm_Image_Sources::$$name = $pre.rawurlencode(str_replace('/>', ' fill="'.$color.'" />', $img)); } } }}