summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-10 16:42:10 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-10 16:42:10 -0400
commit3cdefe998345440ba5ea2ca2ceb33498f8c3b034 (patch)
treeaf30712a6759c97b63f01ef827022f32735c98a9
parent36eaf42bbb25ce1a5ca8636777d0057a0713105c (diff)
Revert "Typo, session_name is a function."
This reverts commit d0793c0f44aabb76af2556a690013c143ac9f7a3.
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 778709699..9e8ec41d2 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()) {