Explorar o código

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 %!s(int64=14) %!d(string=hai) anos
pai
achega
69a1fb61c0

+ 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'));