checkjs fix ($page not bin-hex in all cases)
(cherry picked from commit a94c9d2709
)
This commit is contained in:
parent
157a9e895c
commit
85e21ce617
@ -17,9 +17,9 @@ class CheckJS {
|
|||||||
else
|
else
|
||||||
$this->jsdisabled = 0;
|
$this->jsdisabled = 0;
|
||||||
|
|
||||||
if(! $this->jsdisabled) {
|
|
||||||
$page = bin2hex(\App::$query_string);
|
$page = bin2hex(\App::$query_string);
|
||||||
|
|
||||||
|
if(! $this->jsdisabled) {
|
||||||
if($test) {
|
if($test) {
|
||||||
$this->jsdisabled = 1;
|
$this->jsdisabled = 1;
|
||||||
if(array_key_exists('jsdisabled',$_COOKIE))
|
if(array_key_exists('jsdisabled',$_COOKIE))
|
||||||
|
Reference in New Issue
Block a user