#1251 Disabling log notification in config causes a fatal error

SVN:trunk[4163]
This commit is contained in:
Guillaume Lajarige
2016-06-01 09:15:24 +00:00
parent 9fc3b52b24
commit 43106d3a77

View File

@@ -262,8 +262,10 @@ class ActionEmail extends ActionNotification
{
$sPrefix = '';
}
$oLog->Set('message', $sPrefix.$sRes);
if ($oLog)
{
$oLog->Set('message', $sPrefix . $sRes);
}
}
catch (Exception $e)
{