phpBB

Code Changes

File: phpbb/profilefields/type/type_bool.php

  Unmodified   Added   Modified   Removed
Line 398Line 398
	public function display_options(&$template_vars, &$field_data)
{
// Initialize these array elements if we are creating a new field

	public function display_options(&$template_vars, &$field_data)
{
// Initialize these array elements if we are creating a new field

		if (!sizeof($field_data['lang_options']))

		if (!count($field_data['lang_options']))

		{
// No options have been defined for a boolean field.
$field_data['lang_options'][0] = '';

		{
// No options have been defined for a boolean field.
$field_data['lang_options'][0] = '';