From 3495bbb8a333e8c113fb7e3a87fc0f1a2d7127be Mon Sep 17 00:00:00 2001 From: niekt0 Date: Wed, 18 May 2011 00:10:18 +0200 Subject: [PATCH] fixed owner permission bug --- wwwroot/backend/mysql/permissions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/backend/mysql/permissions.inc b/wwwroot/backend/mysql/permissions.inc index f2db74a..a66af2d 100644 --- a/wwwroot/backend/mysql/permissions.inc +++ b/wwwroot/backend/mysql/permissions.inc @@ -126,7 +126,7 @@ public static function checkPerms($node) { break; } - if ($qr_np->getInt('node_creator') == $user_id) { + if ($qr_np->getString('node_creator') == $user_id) { $perms['node_permission'] = 'owner'; $perms['r'] = 1; $perms['w'] = 1; -- 2.30.2