diff options
-rw-r--r-- | libs/HTML/QuickForm2.php | 2 | ||||
-rw-r--r-- | tests/javascript/matomo.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/HTML/QuickForm2.php b/libs/HTML/QuickForm2.php index 48d10de076..e3b768c39b 100644 --- a/libs/HTML/QuickForm2.php +++ b/libs/HTML/QuickForm2.php @@ -106,7 +106,7 @@ class HTML_QuickForm2 extends HTML_QuickForm2_Container 'post' == $method && (!empty($_POST) || !empty($_FILES)))) { $this->addDataSource(new HTML_QuickForm2_DataSource_SuperGlobal( - $method, get_magic_quotes_gpc() + $method, False )); } if ($trackSubmit) { diff --git a/tests/javascript/matomo.php b/tests/javascript/matomo.php index 536b915d0b..be7dfe7f23 100644 --- a/tests/javascript/matomo.php +++ b/tests/javascript/matomo.php @@ -106,7 +106,7 @@ if (isset($_GET['requests'])) { $input = file_get_contents("php://input"); $requests = @json_decode($input, true); - $data = json_decode(get_magic_quotes_gpc() ? stripslashes($_REQUEST['data']) : $_REQUEST['data'], true); + $data = json_decode($_REQUEST['data'], true); if (!empty($requests) && isPost()) { $query = true; |