From: <lph...@us...> - 2008-07-01 16:02:56
|
Revision: 13408 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=13408&view=rev Author: lphuberdeau Date: 2008-07-01 09:00:24 -0700 (Tue, 01 Jul 2008) Log Message: ----------- [FIX] Parameter inversion Modified Paths: -------------- branches/1.10/lib/profilelib/installlib.php Modified: branches/1.10/lib/profilelib/installlib.php =================================================================== --- branches/1.10/lib/profilelib/installlib.php 2008-07-01 15:47:30 UTC (rev 13407) +++ branches/1.10/lib/profilelib/installlib.php 2008-07-01 16:00:24 UTC (rev 13408) @@ -164,9 +164,9 @@ foreach( $permissions as $perm => $v ) if( $v == 'y' ) - $userlib->assign_permission_to_group( $groupName, $perm ); + $userlib->assign_permission_to_group( $perm, $groupName ); else - $userlib->remove_permission_from_group( $groupName, $perm ); + $userlib->remove_permission_from_group( $perm, $groupName ); foreach( $objects as $data ) foreach( $data['permissions'] as $perm => $v ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |