소스 검색

Restore the previous URLMaker in case the sending of a notification is not the last action of a page... (e.g. if the page displays the details of an object after sending the notifications...)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1885 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 년 전
부모
커밋
e06ec84874
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      core/action.class.inc.php

+ 2 - 1
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