diff --git a/core/action.class.inc.php b/core/action.class.inc.php index 75f538b0d..87f21e844 100644 --- a/core/action.class.inc.php +++ b/core/action.class.inc.php @@ -303,7 +303,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