From a94c9d270906136f69156c0e7c0bd2c8a2e63d1a Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 19 Jul 2018 17:19:19 -0700 Subject: checkjs fix ($page not bin-hex in all cases) --- Zotlabs/Web/CheckJS.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Web/CheckJS.php b/Zotlabs/Web/CheckJS.php index c8547b6dd..e83ccf27b 100644 --- a/Zotlabs/Web/CheckJS.php +++ b/Zotlabs/Web/CheckJS.php @@ -17,9 +17,9 @@ class CheckJS { else $this->jsdisabled = 0; - if(! $this->jsdisabled) { - $page = bin2hex(\App::$query_string); + $page = bin2hex(\App::$query_string); + if(! $this->jsdisabled) { if($test) { $this->jsdisabled = 1; if(array_key_exists('jsdisabled',$_COOKIE)) -- cgit v1.2.3