mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge remote-tracking branch 'marc1706/ticket/11578' into develop-olympus
* marc1706/ticket/11578: [ticket/11578] Add missing underscore after 'validate' function prefix
This commit is contained in:
commit
96b4066368
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue