summaryrefslogtreecommitdiffstats
path: root/frontends/php/httpmon.php
diff options
context:
space:
mode:
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"]);