phpBB

Code Changes

File: includes/ucp/ucp_groups.php

  Unmodified   Added   Modified   Removed
Line 593Line 593
							if (!check_form_key('ucp_groups'))
{
$error[] = $user->lang['FORM_INVALID'];

							if (!check_form_key('ucp_groups'))
{
$error[] = $user->lang['FORM_INVALID'];

 
							}

// Validate submitted colour value
if ($colour_error = validate_data($submit_ary, array('colour' => array('hex_colour', true))))
{
// Replace "error" string with its real, localised form
$error = array_merge($error, $colour_error);

							}

if (!sizeof($error))

							}

if (!sizeof($error))

Line 635Line 642

if (sizeof($error))
{


if (sizeof($error))
{

 
								$error = array_map(array(&$user, 'lang'), $error);

								$group_rank = $submit_ary['rank'];

$group_desc_data = array(

								$group_rank = $submit_ary['rank'];

$group_desc_data = array(