From: niekt0 Date: Tue, 17 May 2011 22:10:18 +0000 (+0200) Subject: fixed owner permission bug X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=3495bbb8a333e8c113fb7e3a87fc0f1a2d7127be;p=mirrors%2FKyberia-bloodline.git fixed owner permission bug --- 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;