fixed isset typo
authorniekt0 <niekt0@kyberia.cz>
Fri, 12 Nov 2010 20:08:29 +0000 (21:08 +0100)
committerniekt0 <niekt0@kyberia.cz>
Fri, 12 Nov 2010 20:08:29 +0000 (21:08 +0100)
wwwroot/inc/permissions.inc

index 116b3819c9dd01db320c3daccd57ca1c3439bba8..d27a1846e600bb7c57f91d5ae4f3b33f25bc83b6 100644 (file)
@@ -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!
This page took 0.123861 seconds and 4 git commands to generate.