From be0af523da123b98c69a9eeb6b6e7e69d663018b Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 7 Jan 2019 16:46:01 -0800 Subject: [PATCH] Issue #3596 Should correct blank modal with PHP 7 problem. --- e107_handlers/e107_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index 85c40ca86..91bd96ee2 100755 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -3874,7 +3874,7 @@ class e107 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); } @@ -4009,7 +4009,7 @@ class e107 if($base64 != true) { - self::filter_request(base64_decode($input),$key,$type,true); + self::filter_request(base64_decode($input, true),$key,$type,true); }