X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fbackend%2Fmysql%2Fpermissions.inc;h=da78555fd748431541df0230fd642d38a153bda8;hb=a0e722be3ebca8f1f25ba76a7c93d8cae7155462;hp=234221cd546a64af9d18426dac5e1797d92aef69;hpb=d69b37e1bc784d7510f587add2a6b9b14ba3b2fe;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/backend/mysql/permissions.inc b/wwwroot/backend/mysql/permissions.inc index 234221c..da78555 100644 --- a/wwwroot/backend/mysql/permissions.inc +++ b/wwwroot/backend/mysql/permissions.inc @@ -79,7 +79,7 @@ public static function checkPerms($node) { } if ($perms['node_system_access'] != 'private' - && !$_SESSION['user_id'] + && (empty($_SESSION['user_id'])) && $perms['node_external_access'] == 'yes') { $perms['r'] = 1; $perms['w'] = 0;