1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 21:32:09 +02:00

Issue #3596 Should correct blank modal with PHP 7 problem.

This commit is contained in:
Cameron
2019-01-07 16:46:01 -08:00
parent 359c162888
commit be0af523da

View File

@@ -3874,7 +3874,7 @@ class e107
if($type == "_POST" || ($type == "_SERVER" && ($key == "QUERY_STRING"))) if($type == "_POST" || ($type == "_SERVER" && ($key == "QUERY_STRING")))
{ {
if($type == "_POST" && ($base64 == FALSE)) if($type == "_POST" && ($base64 === false))
{ {
$input = preg_replace("/(\[code\])(.*?)(\[\/code\])/is","",$input); $input = preg_replace("/(\[code\])(.*?)(\[\/code\])/is","",$input);
} }
@@ -4009,7 +4009,7 @@ class e107
if($base64 != true) if($base64 != true)
{ {
self::filter_request(base64_decode($input),$key,$type,true); self::filter_request(base64_decode($input, true),$key,$type,true);
} }