diff options
Diffstat (limited to 'frontends/php/sysmap.php')
| -rw-r--r-- | frontends/php/sysmap.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/sysmap.php b/frontends/php/sysmap.php index f4d3cbf5..5fdb3cbe 100644 --- a/frontends/php/sysmap.php +++ b/frontends/php/sysmap.php @@ -195,10 +195,10 @@ include_once "include/page_header.php"; nbsp($type), $db_element["x"], $db_element["y"], - new CImg("image.php?height=24&imageid=".$db_element["iconid_off"],"no image",NULL), - new CImg("image.php?height=24&imageid=".$db_element["iconid_on"],"no image",NULL), - new CImg("image.php?height=24&imageid=".$db_element["iconid_unknown"],"no image",NULL), - new CImg("image.php?height=24&imageid=".$db_element["iconid_disabled"],"no image",NULL) + $db_element["iconid_off"] ? new CImg("image.php?height=24&imageid=".$db_element["iconid_off"],"no image",NULL) : '-', + $db_element["iconid_on"] ? new CImg("image.php?height=24&imageid=".$db_element["iconid_on"],"no image",NULL) : '-', + $db_element["iconid_unknown"] ? new CImg("image.php?height=24&imageid=".$db_element["iconid_unknown"],"no image",NULL) : '-', + $db_element["iconid_disabled"] ? new CImg("image.php?height=24&imageid=".$db_element["iconid_disabled"],"no image",NULL) : '-' )); } $table->show(); |
