diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php index 88e3fbce2f..cd84902acf 100644 --- a/phpBB/includes/functions_module.php +++ b/phpBB/includes/functions_module.php @@ -405,7 +405,7 @@ class p_master $module_auth = preg_replace( // Array keys with # prepended/appended - array_map(function($value){ + array_map(function($value) { return '#' . $value . '#'; }, array_keys($valid_tokens)), array_values($valid_tokens),