소스 검색

Portal: Fixed action rules that were not working on CreateBrick

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4719 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 8 년 전
부모
커밋
aa5dc97493
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      datamodels/2.x/itop-portal-base/portal/src/controllers/createbrickcontroller.class.inc.php

+ 1 - 1
datamodels/2.x/itop-portal-base/portal/src/controllers/createbrickcontroller.class.inc.php

@@ -43,7 +43,7 @@ class CreateBrickController extends BrickController
         $aRules = $oBrick->GetRules();
         if (!empty($aRules))
         {
-            $aRouteParams['ar_token'] = ContextManipulatorHelper::EncodeRulesToken($aRules);
+            $aRouteParams['ar_token'] = ContextManipulatorHelper::PrepareAndEncodeRulesToken($aRules);
         }
 
         // Checking if the target object class is asbtract or not