diff --git a/HMI/code_gen/icons/icons.py b/HMI/code_gen/icons/icons.py index 8265fdc3..c67c4236 100644 --- a/HMI/code_gen/icons/icons.py +++ b/HMI/code_gen/icons/icons.py @@ -61,7 +61,7 @@ with open(os.path.join(__location__, "../../../ip-symcon", "icon_mapping.php"), function get_icon($name) { global $icons; if (strpos('text:', $name) !== false) { - return str_replace('text:', "", $name); + return str_replace('text:', "", $name); } $ma_name = str_replace('mdi:', "", $name); if (array_key_exists($ma_name, $icons)) { diff --git a/ip-symcon/icon_mapping.php b/ip-symcon/icon_mapping.php index 410cfd1e..93712b8a 100644 --- a/ip-symcon/icon_mapping.php +++ b/ip-symcon/icon_mapping.php @@ -6901,7 +6901,7 @@ $icons = [ function get_icon($name) { global $icons; if (strpos('text:', $name) !== false) { - return str_replace('text:', "", $name); + return str_replace('text:', "", $name); } $ma_name = str_replace('mdi:', "", $name); if (array_key_exists($ma_name, $icons)) {