Vergleich admin/inc/functions_view_manager.php - 1.8.13 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 64Zeile 64
			{
$mybb->input['fields'] = explode(",", $mybb->input['fields_js']);
}

			{
$mybb->input['fields'] = explode(",", $mybb->input['fields_js']);
}

			if(count($mybb->input['fields']) <= 0)

			if(is_array($mybb->input['fields']) && count($mybb->input['fields']) <= 0)

			{
$errors[] = $lang->error_no_view_fields;
}

			{
$errors[] = $lang->error_no_view_fields;
}

Zeile 254Zeile 254
				$mybb->input['fields'] = explode(",", $mybb->input['fields_js']);
}


				$mybb->input['fields'] = explode(",", $mybb->input['fields_js']);
}


			if(count($mybb->input['fields']) <= 0)

			if(is_array($mybb->input['fields']) && count($mybb->input['fields']) <= 0)

			{
$errors[] = $lang->error_no_view_fields;
}

			{
$errors[] = $lang->error_no_view_fields;
}

Zeile 363Zeile 363

$form_container->output_row($lang->set_as_default_view, "", $form->generate_yes_no_radio("isdefault", $mybb->input['isdefault'], array('yes' => 1, 'no' => 0)));



$form_container->output_row($lang->set_as_default_view, "", $form->generate_yes_no_radio("isdefault", $mybb->input['isdefault'], array('yes' => 1, 'no' => 0)));


		if(count($sort_options) > 0)

		if(is_array($sort_options) && count($sort_options) > 0)

		{
$sort_directions = array(
"asc" => $lang->ascending,

		{
$sort_directions = array(
"asc" => $lang->ascending,