From: niekt0 Date: Fri, 12 Nov 2010 20:08:29 +0000 (+0100) Subject: fixed isset typo X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=808a489e1622158ecce9aa9e6062798fe979e084;p=mirrors%2FKyberia-bloodline.git fixed isset typo --- diff --git a/wwwroot/inc/permissions.inc b/wwwroot/inc/permissions.inc index 116b381..d27a184 100644 --- a/wwwroot/inc/permissions.inc +++ b/wwwroot/inc/permissions.inc @@ -29,7 +29,9 @@ function isHierarch($node) { function checkPermissions($node) { global $db; -$user_id=IsSet($_SESSION['user_id']); +if (IsSet($_SESSION['user_id']) { + $user_id=$_SESSION['user_id']; +} /* thousand lights // OMGto Hierarchy!