From 808a489e1622158ecce9aa9e6062798fe979e084 Mon Sep 17 00:00:00 2001 From: niekt0 Date: Fri, 12 Nov 2010 21:08:29 +0100 Subject: [PATCH] fixed isset typo --- wwwroot/inc/permissions.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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! -- 2.30.2