initialize push variable in MonitoringServer class for notification handling

This commit is contained in:
jhartworks
2025-09-30 09:55:27 +02:00
parent a184b6d346
commit 49f8cbfa71
+2 -1
View File
@@ -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;