Bug fix: Reset the URLMaker context after generating the notifications

SVN:1.2.1[1864]
This commit is contained in:
Denis Flaven
2012-02-21 14:07:12 +00:00
parent 42dc240aac
commit 7c7b657d71

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