From 67b763bc517a77db2e9b6330e944d1b1502a2173 Mon Sep 17 00:00:00 2001 From: mikley Date: Mon, 12 May 2025 10:32:42 +0200 Subject: [PATCH] Update UptimeKuma.php change an === operator to the !== operator. --- UptimeKuma/UptimeKuma.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UptimeKuma/UptimeKuma.php b/UptimeKuma/UptimeKuma.php index cf8c6851a8..6e3552419a 100644 --- a/UptimeKuma/UptimeKuma.php +++ b/UptimeKuma/UptimeKuma.php @@ -62,7 +62,7 @@ public function livestats() continue; } - if (strpos($line, 'monitor_status') === 0) { + if (strpos($line, 'monitor_status') !== 0) { // If the line is a metric but not a monitor we can ignore it continue; }