1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/11538] Rename phpbb_validate_colour to phpbb_validate_hex_colour

PHPBB3-11538
This commit is contained in:
Marc Alexander
2013-05-19 11:29:11 +02:00
parent 0a5988ec1f
commit b49ce5eb3a
3 changed files with 5 additions and 4 deletions

View File

@@ -423,7 +423,7 @@ class acp_groups
}
// Validate submitted colour value
if ($colour_error = validate_data($submit_ary, array('colour' => array('colour'))))
if ($colour_error = validate_data($submit_ary, array('colour' => array('hex_colour'))))
{
// Replace "error" string with its real, localised form
$error = array_merge($error, array_map(array(&$user, 'lang'), $colour_error));