diff options
author | zotlabs <mike@macgirvin.com> | 2018-07-19 17:19:19 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-07-19 17:19:19 -0700 |
commit | a94c9d270906136f69156c0e7c0bd2c8a2e63d1a (patch) | |
tree | bdab10e879595da0f10d174eb141705087f75194 /Zotlabs | |
parent | 0866cea72c30b0c3bc848fbe44bec6a7cbe8875e (diff) | |
download | volse-hubzilla-a94c9d270906136f69156c0e7c0bd2c8a2e63d1a.tar.gz volse-hubzilla-a94c9d270906136f69156c0e7c0bd2c8a2e63d1a.tar.bz2 volse-hubzilla-a94c9d270906136f69156c0e7c0bd2c8a2e63d1a.zip |
checkjs fix ($page not bin-hex in all cases)
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Web/CheckJS.php | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |