From: <ny...@us...> - 2008-10-13 21:40:29
|
Revision: 15127 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=15127&view=rev Author: nyloth Date: 2008-10-13 21:40:22 +0000 (Mon, 13 Oct 2008) Log Message: ----------- [FIX] accesslib: fix perm names for error messages. Modified Paths: -------------- trunk/lib/tikiaccesslib.php Modified: trunk/lib/tikiaccesslib.php =================================================================== --- trunk/lib/tikiaccesslib.php 2008-10-13 21:19:33 UTC (rev 15126) +++ trunk/lib/tikiaccesslib.php 2008-10-13 21:40:22 UTC (rev 15127) @@ -69,8 +69,8 @@ foreach ($permissions as $permission) { global $$permission; if ($$permission != 'y') { - if ($permission_name) { $permission= $permission_name; } - $this->display_error('', tra("You do not have permission to use this feature").": ". $permission_name, '403', false); + if ($permission_name) { $permission = $permission_name; } + $this->display_error('', tra("You do not have permission to use this feature").": ". $permission, '403', false); } } } @@ -81,8 +81,8 @@ foreach ($permissions as $permission) { global $$permission; if ((isset($$permission) && $$permission == 'n')) { - if ($permission_name) { $permission= $permission_name; } - $this->display_error('', tra("You do not have permission to use this feature").": ". $permission_name, '403', false); + if ($permission_name) { $permission = $permission_name; } + $this->display_error('', tra("You do not have permission to use this feature").": ". $permission, '403', false); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |