🚨 Fix undefined variable

copy/paste from autoclose that was not changed
This commit is contained in:
Pierre Goiffon
2019-01-18 10:45:00 +01:00
parent f9cff178a8
commit 3e8d5fdfd0

View File

@@ -184,7 +184,7 @@ class NotifyOnExpiration implements iScheduledProcess
} // Trigger was NOT applied because of an exception, which is NOT normal } // Trigger was NOT applied because of an exception, which is NOT normal
catch (Exception $e) 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()); $this->Trace('| |- [KO] /!\\ '.$sClass.' #'.$oToTrigger->GetKey().' exception raised! Error message: '.$e->getMessage());
} }