fixed owner permission bug
authorniekt0 <niekt0@kyberia.cz>
Tue, 17 May 2011 22:10:18 +0000 (00:10 +0200)
committerniekt0 <niekt0@kyberia.cz>
Tue, 17 May 2011 22:10:18 +0000 (00:10 +0200)
wwwroot/backend/mysql/permissions.inc

index f2db74a355cb3b096e6d2fc25879768b22fd3b95..a66af2d1298633854c6cd2ea3a66d9948083b66a 100644 (file)
@@ -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;
This page took 0.244365 seconds and 4 git commands to generate.