From: Daniel Hromada Date: Tue, 15 Mar 2011 22:54:47 +0000 (+0100) Subject: nodes_by_parent permz fix X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=17ec25133d7efb812a3396427bcf777ad6d71e49;p=mirrors%2FKyberia-bloodline.git nodes_by_parent permz fix --- diff --git a/wwwroot/inc/smarty/node_methodz/function.get_nodes_by_parent.php b/wwwroot/inc/smarty/node_methodz/function.get_nodes_by_parent.php index 360f553..b6fe822 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_nodes_by_parent.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_nodes_by_parent.php @@ -4,7 +4,7 @@ global $node; $parent=$params['parent']; - $permissions=permissions::checkPermissions($parent); + $permissions=permissions::checkPerms($parent); if (!$permissions['r']) { $error=$error_messages['READ_PERMISSION_ERROR']; return false;