From 3e8d5fdfd07567c7677096eccb0ed6349c73afbd Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Fri, 18 Jan 2019 10:45:00 +0100 Subject: [PATCH] :rotating_light: Fix undefined variable copy/paste from autoclose that was not changed --- main.combodo-notify-on-expiration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.combodo-notify-on-expiration.php b/main.combodo-notify-on-expiration.php index 0a2f47b6ea..db9c231237 100644 --- a/main.combodo-notify-on-expiration.php +++ b/main.combodo-notify-on-expiration.php @@ -184,7 +184,7 @@ class NotifyOnExpiration implements iScheduledProcess } // Trigger was NOT applied because of an exception, which is NOT normal catch (Exception $e) { - $aReport['not_triggered'][] = $oToClose->Get('friendlyname'); + $aReport['not_triggered'][] = $oToTrigger->Get('friendlyname'); $this->Trace('| |- [KO] /!\\ '.$sClass.' #'.$oToTrigger->GetKey().' exception raised! Error message: '.$e->getMessage()); }