From 6ba61785f8da8df917866055e0119bc4fceeae0d Mon Sep 17 00:00:00 2001 From: Nicofuma Date: Sat, 26 Apr 2014 15:46:50 +0200 Subject: [ticket/12097] Bug fix and adding unit test PHPBB3-12097 --- phpBB/includes/functions_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions_user.php') diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 354e79a672..97af7ada04 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1329,7 +1329,7 @@ function validate_data($data, $val_ary) if (is_array($function)) { - $result = call_user_func_array($function[0], 'validate_' . $function[1], $validate); + $result = call_user_func_array(array($function[0], 'validate_' . $function[1]), $validate); } else { -- cgit v1.2.1