summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/maps.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php
index 8e2e64ce..361824a4 100644
--- a/frontends/php/include/maps.inc.php
+++ b/frontends/php/include/maps.inc.php
@@ -229,7 +229,7 @@
$element = DBfetch($elements);
if(!$element) return FALSE;
- if(get_info_by_selementid($element["selementid"],$info,$color) == 0)
+ if(get_info_by_selementid($element["selementid"],$info,$color) != 0)
$icon = $element["icon_on"];
else
$icon = $element["icon"];