aboutsummaryrefslogtreecommitdiff
path: root/phpBB
diff options
context:
space:
mode:
authormarc1706 <admin@m-a-styles.de>2013-05-27 22:56:49 +0200
committermarc1706 <admin@m-a-styles.de>2013-05-27 22:56:49 +0200
commitb75f67231f77c7f982bdde363cf7765ebe08d2f6 (patch)
tree6e63b1fc19b56c8bae49732aafe51a99726d0a81 /phpBB
parentMerge remote-tracking branch 'bantu/ticket/11576' into develop-olympus (diff)
downloadphpbb-b75f67231f77c7f982bdde363cf7765ebe08d2f6.tar.gz
phpbb-b75f67231f77c7f982bdde363cf7765ebe08d2f6.tar.bz2
phpbb-b75f67231f77c7f982bdde363cf7765ebe08d2f6.zip
[ticket/11578] Add missing underscore after 'validate' function prefix
The underscore after the 'validate' function prefix for the older functions was dropped by accident in PR #1407. This patch will add it back. PHPBB3-11578
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 6b6a9b1f9f..2b26c6787c 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1247,7 +1247,7 @@ function validate_data($data, $val_ary)
{
$function = array_shift($validate);
array_unshift($validate, $data[$var]);
- $function_prefix = (function_exists('phpbb_validate_' . $function)) ? 'phpbb_validate_' : 'validate';
+ $function_prefix = (function_exists('phpbb_validate_' . $function)) ? 'phpbb_validate_' : 'validate_';
if ($result = call_user_func_array($function_prefix . $function, $validate))
{