]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "Typo, session_name is a function."
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 10 Aug 2009 20:42:10 +0000 (16:42 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 10 Aug 2009 20:42:10 +0000 (16:42 -0400)
This reverts commit d0793c0f44aabb76af2556a690013c143ac9f7a3.

lib/util.php

index 778709699f591cb3406d9251f04821a7380f0548..9e8ec41d2592a29f46f0aa62195d24ef5ea13fcb 100644 (file)
@@ -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()) {