From d7684af02446dc66951a5c3b428fca24f8e4fbee Mon Sep 17 00:00:00 2001 From: Harvie Date: Wed, 13 Jul 2011 00:22:09 +0200 Subject: [PATCH] Permissions to Perms. Which git? --- wwwroot/inc/eventz/set_parent.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/inc/eventz/set_parent.inc b/wwwroot/inc/eventz/set_parent.inc index 991a29a..bf5d0e5 100644 --- a/wwwroot/inc/eventz/set_parent.inc +++ b/wwwroot/inc/eventz/set_parent.inc @@ -7,7 +7,7 @@ $nodes=$_POST['node_chosen']; $hierarch_id=$node['node_id']; $new_parent=nodes::getNodeById($new_parent_id,$_SESSION['user_id']); -$new_parent_permissions=permissions::checkPermissions($new_parent); +$new_parent_permissions=permissions::checkPerms($new_parent); if (!$new_parent_permissions['w'] and !isHierarch($new_parent)) { global $error_messages; @@ -82,4 +82,4 @@ $db->query("commit"); } return true; } -?> \ No newline at end of file +?> -- 2.30.2