summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/services.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/services.inc.php')
-rw-r--r--frontends/php/include/services.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/services.inc.php b/frontends/php/include/services.inc.php
index 5a830e16..84362b3a 100644
--- a/frontends/php/include/services.inc.php
+++ b/frontends/php/include/services.inc.php
@@ -233,7 +233,7 @@
}
// echo $problem_time,"-",$ok_time,"<br>";
- if(DBnum_rows($result)==0)
+ if(!DBfetch($result))
{
if(get_last_service_value($serviceid,$period_start)<=1)
{