diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index a3843874b4423..ffd0dd90618c8 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -81,7 +81,7 @@ function stripslashes_deep($value) function test_sql_and_script_inject($val, $type) { // phpcs:enable - return $this->testSqlAndScriptInject($val, $type); + return testSqlAndScriptInject($val, $type); } /**