From 8aee7a4bf11b6a36d74892f56d8937219cba0be0 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Fri, 25 Nov 2005 10:27:05 +0000 Subject: Cleanup of PHP code. git-svn-id: svn://svn.zabbix.com/trunk@2357 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/items.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'frontends/php/items.php') diff --git a/frontends/php/items.php b/frontends/php/items.php index e102fac7..d9a50c3d 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -340,8 +340,9 @@ ?> 0) + $result=DBselect("select count(*) as cnt from hosts"); + $row=DBfetch($result); + if($row["cnt"]>0) { echo ""; insert_item_form(); -- cgit