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()); }