diff options
author | Adrian Lang <mail@adrianlang.de> | 2009-08-10 15:24:27 +0200 |
---|---|---|
committer | Adrian Lang <mail@adrianlang.de> | 2009-08-10 15:24:27 +0200 |
commit | d0793c0f44aabb76af2556a690013c143ac9f7a3 (patch) | |
tree | 6c3bf838ad717e34dbf48ed55014640245555fbc /lib | |
parent | 5ba46186b7dd179253023426f6d7cdbbee67ad98 (diff) |
Typo, session_name is a function.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 9e8ec41d2..778709699 100644 --- a/lib/util.php +++ b/lib/util.php @@ -140,7 +140,7 @@ function common_have_session() function common_ensure_session() { $c = null; - if (array_key_exists(session_name, $_COOKIE)) { + if (array_key_exists(session_name(), $_COOKIE)) { $c = $_COOKIE[session_name()]; } if (!common_have_session()) { |