We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b2d2b19d authored by Jeffery To's avatar Jeffery To

Fixed PHP Notice "Use of undefined constant session_name - assumed 'session_name'"

parent 45ad4cfe
......@@ -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()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment