summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpmon.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-11 14:48:34 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-02-11 14:48:34 +0000
commit8e0de84965c91f571e94fa4e1bd7848310a787b3 (patch)
tree36c838de1bbed7a330901d286873fddcde8c9390 /frontends/php/httpmon.php
parentec99dcce124d70002c5eee4af75a9cf57479b2f1 (diff)
downloadzabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.tar.gz
zabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.tar.xz
zabbix-8e0de84965c91f571e94fa4e1bd7848310a787b3.zip
- [DEV-112] added themes option in frontend (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5341 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/httpmon.php')
-rw-r--r--frontends/php/httpmon.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/httpmon.php b/frontends/php/httpmon.php
index e2e1fee4..af62418f 100644
--- a/frontends/php/httpmon.php
+++ b/frontends/php/httpmon.php
@@ -204,8 +204,8 @@ include_once "include/page_header.php";
array_push($name, new CLink($httptest_data["name"],"httpdetails.php?httptestid=".$httptest_data['httptestid'],'action'));
- $step_cout = DBfetch(DBselect('select count(*) from httpstep where httptestid='.$httptest_data["httptestid"]));
- $step_cout = $step_cout[0];
+ $step_cout = DBfetch(DBselect('select count(*) as cnt from httpstep where httptestid='.$httptest_data["httptestid"]));
+ $step_cout = $step_cout['cnt'];
if(isset($httptest_data["lastcheck"]))
$lastcheck = date(S_DATE_FORMAT_YMDHMS,$httptest_data["lastcheck"]);