From 7c7b657d71b9be4ad7897a6b37bed7953209f3cb Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Tue, 21 Feb 2012 14:07:12 +0000 Subject: [PATCH] Bug fix: Reset the URLMaker context after generating the notifications SVN:1.2.1[1864] --- core/action.class.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/action.class.inc.php b/core/action.class.inc.php index 7657b6c82..39dae8303 100644 --- a/core/action.class.inc.php +++ b/core/action.class.inc.php @@ -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