Restore the previous state of URLMaker after building a notification

SVN:1.2[1845]
This commit is contained in:
Denis Flaven
2012-02-07 09:32:29 +00:00
parent 7b270294f6
commit 364259daa5

View File

@@ -305,7 +305,8 @@ class ActionEmail extends ActionNotification
ApplicationContext::SetUrlMakerClass($sPreviousUrlMaker);
throw $e;
}
ApplicationContext::SetUrlMakerClass($sPreviousUrlMaker);
if (!is_null($oLog))
{
// Note: we have to secure this because those values are calculated