소스 검색

Fixed bug: losing links profiles/user when editing profiles

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@802 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 년 전
부모
커밋
69a1fb61c0
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      addons/userrights/userrightsprofile.class.inc.php
  2. 1 1
      addons/userrights/userrightsprojection.class.inc.php

+ 1 - 1
addons/userrights/userrightsprofile.class.inc.php

@@ -211,7 +211,7 @@ class URP_Profiles extends UserRightsBaseClass
 
 	function DisplayBareRelations(WebPage $oPage, $bEditMode = false)
 	{
-		parent::DisplayBareRelations($oPage);
+		parent::DisplayBareRelations($oPage, $bEditMode);
 		if (!$bEditMode)
 		{
 			$oPage->SetCurrentTab(Dict::S('UI:UserManagement:GrantMatrix'));

+ 1 - 1
addons/userrights/userrightsprojection.class.inc.php

@@ -151,7 +151,7 @@ class URP_Profiles extends UserRightsBaseClass
 
 	function DisplayBareRelations(WebPage $oPage, $bEditMode = false)
 	{
-		parent::DisplayBareRelations($oPage);
+		parent::DisplayBareRelations($oPage, $bEditMode);
 		if (!$bEditMode)
 		{
 			$oPage->SetCurrentTab(Dict::S('UI:UserManagement:GrantMatrix'));