checkjs fix ($page not bin-hex in all cases)

This commit is contained in:
zotlabs 2018-07-19 17:19:19 -07:00
parent 0866cea72c
commit a94c9d2709

View File

@ -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))