GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d8a19
)
fixed isset typo
author
niekt0
<niekt0@kyberia.cz>
Fri, 12 Nov 2010 20:08:29 +0000
(21:08 +0100)
committer
niekt0
<niekt0@kyberia.cz>
Fri, 12 Nov 2010 20:08:29 +0000
(21:08 +0100)
wwwroot/inc/permissions.inc
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/inc/permissions.inc
b/wwwroot/inc/permissions.inc
index 116b3819c9dd01db320c3daccd57ca1c3439bba8..d27a1846e600bb7c57f91d5ae4f3b33f25bc83b6 100644
(file)
--- 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!
This page took
0.123861 seconds
and
4
git commands to generate.