summaryrefslogtreecommitdiffstats
path: root/frontends/php/hosts.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-16 10:09:00 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-16 10:09:00 +0000
commit9c1f6327bf84f4aafe17d6366521ef0e7ffd5765 (patch)
tree9156870fd46feea09f1bd483ff32a0025d7101e6 /frontends/php/hosts.php
parented7c11afc6a47092d04df61a3c769ab6570f0116 (diff)
downloadzabbix-9c1f6327bf84f4aafe17d6366521ef0e7ffd5765.tar.gz
zabbix-9c1f6327bf84f4aafe17d6366521ef0e7ffd5765.tar.xz
zabbix-9c1f6327bf84f4aafe17d6366521ef0e7ffd5765.zip
- [DEV-137] small fixes (Artem)
- [DEV-137] perl script fixes against mysql {BLOB and TEXT columns cannot have DEFAULT values} (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5831 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/hosts.php')
-rw-r--r--frontends/php/hosts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php
index 0b7c0f2d..b7b2bca9 100644
--- a/frontends/php/hosts.php
+++ b/frontends/php/hosts.php
@@ -1276,14 +1276,14 @@ include_once 'include/page_header.php';
$host_list = array();
while($host = DBfetch($hosts)){
$style = ($host["status"] == HOST_STATUS_MONITORED)?NULL:'on';
- array_push($host_list, empty($host_list) ? '' : ', ', new CSpan($host["host"], $style));
+ array_push($host_list, empty($host_list)?'':', ', new CSpan($host["host"], $style));
}
$table->AddRow(array(
new CCol(array(
new CLink($template['host'],'hosts.php?form=update&hostid='.
$template['hostid'].url_param('hostid').url_param('config'), 'action')
),'unknown'),
- empty($host_list)?'-':$host_list
+ empty($host_list)?'-':new CCol($host_list,'wraptext')
));
}