From: <sy...@us...> - 2008-11-25 17:10:48
|
Revision: 15753 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=15753&view=rev Author: sylvieg Date: 2008-11-25 17:10:44 +0000 (Tue, 25 Nov 2008) Log Message: ----------- [FIX]category: rollback 15691 because now object with a category with a special perm can be seen without perm checking Modified Paths: -------------- trunk/lib/categories/categlib.php Modified: trunk/lib/categories/categlib.php =================================================================== --- trunk/lib/categories/categlib.php 2008-11-25 16:30:09 UTC (rev 15752) +++ trunk/lib/categories/categlib.php 2008-11-25 17:10:44 UTC (rev 15753) @@ -514,8 +514,7 @@ $return_perms = array(); // initialize array for storing perms to be returned if (!$cachelib->isCached("categories_permission_names")) { - $group = $userlib->get_user_default_group($user); - $perms = $userlib->get_permissions(0, -1, 'permName_desc', $group, 'category'); + $perms = $userlib->get_permissions(0, -1, 'permName_desc', '', 'category'); $cachelib->cacheItem("categories_permission_names",serialize($perms)); } else { $perms = unserialize($cachelib->getCached("categories_permission_names")); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |