mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/11538] Rename phpbb_validate_colour to phpbb_validate_hex_colour
PHPBB3-11538
This commit is contained in:
@@ -1903,9 +1903,10 @@ function validate_jabber($jid)
|
||||
* Validate hex colour value
|
||||
*
|
||||
* @param string $colour The hex colour value
|
||||
* @return bool/string Error message if colour value is incorrect, false if it fits the hex colour code
|
||||
* @return bool|string Error message if colour value is incorrect, false if it
|
||||
* fits the hex colour code
|
||||
*/
|
||||
function phpbb_validate_colour($colour)
|
||||
function phpbb_validate_hex_colour($colour)
|
||||
{
|
||||
if (empty($colour))
|
||||
{
|
||||
|
Reference in New Issue
Block a user