phpBB

Code Changes

File: phpbb/message/form.php

  Unmodified   Added   Modified   Removed
Line 139Line 139
			$this->errors[] = 'FORM_INVALID';
}


			$this->errors[] = 'FORM_INVALID';
}


		if (!sizeof($this->errors))

		if (!count($this->errors))

		{
$sql = 'UPDATE ' . USERS_TABLE . '
SET user_emailtime = ' . time() . '

		{
$sql = 'UPDATE ' . USERS_TABLE . '
SET user_emailtime = ' . time() . '

Line 169Line 169
		add_form_key('memberlist_email');

$template->assign_vars(array(

		add_form_key('memberlist_email');

$template->assign_vars(array(

			'ERROR_MESSAGE'		=> (sizeof($this->errors)) ? implode('<br />', $this->errors) : '',

			'ERROR_MESSAGE'		=> (count($this->errors)) ? implode('<br />', $this->errors) : '',

		));
}
}

		));
}
}