Revert "Typo, session_name is a function."

This reverts commit d0793c0f44.
This commit is contained in:
Evan Prodromou 2009-08-10 16:42:10 -04:00
parent 36eaf42bbb
commit 3cdefe9983

View 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()) {