From 49f8cbfa713809b9ce4691920052196bc0ecfcb3 Mon Sep 17 00:00:00 2001 From: jhartworks Date: Tue, 30 Sep 2025 09:55:27 +0200 Subject: [PATCH] initialize push variable in MonitoringServer class for notification handling --- Monitoring Server Influx V1/module.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index 4c1cac4..70f0afd 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -425,7 +425,7 @@ class MonitoringServer extends IPSModule { $mailAdresses = $this->ReadPropertyString("MailAdresses"); $idDc = $this->ReadPropertyInteger("DiscordInst"); - + $push = 0; $tdOld = $this->ReadAttributeString("AtAlarmtable"); $td = $tdOld; @@ -442,6 +442,7 @@ class MonitoringServer extends IPSModule { if ($sendit == true){ VISU_PostNotification($webfrontid, $art, $smname, $ico, $targetid); + $push = 1; } $whatsapp = 0;