mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
update php
This commit is contained in:
@@ -60,7 +60,7 @@ with open(os.path.join(__location__, "../../../ip-symcon", "icon_mapping.php"),
|
||||
|
||||
function get_icon($name) {
|
||||
global $icons;
|
||||
if (str_contains('text:', $name)) {
|
||||
if (strpos('text:', $name) !== false) {
|
||||
return str_replace('text:', "", $name);
|
||||
}
|
||||
$ma_name = str_replace('mdi:', "", $name);
|
||||
|
||||
@@ -6900,7 +6900,7 @@ $icons = [
|
||||
|
||||
function get_icon($name) {
|
||||
global $icons;
|
||||
if (str_contains('text:', $name)) {
|
||||
if (strpos('text:', $name) !== false) {
|
||||
return str_replace('text:', "", $name);
|
||||
}
|
||||
$ma_name = str_replace('mdi:', "", $name);
|
||||
|
||||
Reference in New Issue
Block a user