From: Evan Prodromou Date: Mon, 10 Aug 2009 20:42:10 +0000 (-0400) Subject: Revert "Typo, session_name is a function." X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3cdefe998345440ba5ea2ca2ceb33498f8c3b034;p=quix0rs-gnu-social.git Revert "Typo, session_name is a function." This reverts commit d0793c0f44aabb76af2556a690013c143ac9f7a3. --- diff --git a/lib/util.php b/lib/util.php index 778709699f..9e8ec41d25 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()) {