forked from GNUsocial/gnu-social
Revert "Typo, session_name is a function."
This reverts commit d0793c0f44
.
This commit is contained in:
parent
36eaf42bbb
commit
3cdefe9983
@ -140,7 +140,7 @@ function common_have_session()
|
|||||||
function common_ensure_session()
|
function common_ensure_session()
|
||||||
{
|
{
|
||||||
$c = null;
|
$c = null;
|
||||||
if (array_key_exists(session_name(), $_COOKIE)) {
|
if (array_key_exists(session_name, $_COOKIE)) {
|
||||||
$c = $_COOKIE[session_name()];
|
$c = $_COOKIE[session_name()];
|
||||||
}
|
}
|
||||||
if (!common_have_session()) {
|
if (!common_have_session()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user