Portal: Fixed action rules that were not working on CreateBrick

SVN:trunk[4719]
This commit is contained in:
Guillaume Lajarige
2017-05-03 14:29:48 +00:00
parent 36c53249a0
commit b707db9364

View File

@@ -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