aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Web/Session.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Web/Session.php b/Zotlabs/Web/Session.php
index 55536fdc7..f998df396 100644
--- a/Zotlabs/Web/Session.php
+++ b/Zotlabs/Web/Session.php
@@ -85,8 +85,8 @@ class Session {
else
logger('no session handler');
- if (x($_COOKIE, 'jsAvailable')) {
- setcookie('jsAvailable', $_COOKIE['jsAvailable'], $newxtime);
+ if (x($_COOKIE, 'jsdisabled')) {
+ setcookie('jsdisabled', $_COOKIE['jsdisabled'], $newxtime);
}
setcookie(session_name(),session_id(),$newxtime);