Vergleich admin/modules/config/help_documents.php - 1.8.34 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 257Zeile 257
		$query = $db->simple_select("helpsections", "*", "sid = '".$mybb->get_input('sid', MyBB::INPUT_INT)."'");
$section = $db->fetch_array($query);


		$query = $db->simple_select("helpsections", "*", "sid = '".$mybb->get_input('sid', MyBB::INPUT_INT)."'");
$section = $db->fetch_array($query);


		if(!$section['sid'])

		if(!$section)

		{
flash_message($lang->error_missing_section_id, 'error');
admin_redirect("index.php?module=config-help_documents");

		{
flash_message($lang->error_missing_section_id, 'error');
admin_redirect("index.php?module=config-help_documents");

Zeile 368Zeile 368
		$doc = $db->fetch_array($query);

// Invalid document?

		$doc = $db->fetch_array($query);

// Invalid document?

		if(!$doc['hid'])

		if(!$doc)

		{
flash_message($lang->error_missing_hid, 'error');
admin_redirect("index.php?module=config-help_documents");

		{
flash_message($lang->error_missing_hid, 'error');
admin_redirect("index.php?module=config-help_documents");

Zeile 516Zeile 516
			$section = $db->fetch_array($query);

// Invalid section?

			$section = $db->fetch_array($query);

// Invalid section?

			if(!$section['sid'])

			if(!$section)

			{
flash_message($lang->error_missing_section_id, 'error');
admin_redirect("index.php?module=config-help_documents");

			{
flash_message($lang->error_missing_section_id, 'error');
admin_redirect("index.php?module=config-help_documents");

Zeile 544Zeile 544
			$doc = $db->fetch_array($query);

// Invalid document?

			$doc = $db->fetch_array($query);

// Invalid document?

			if(!$doc['hid'])

			if(!$doc)

			{
flash_message($lang->error_missing_hid, 'error');
admin_redirect("index.php?module=config-help_documents");

			{
flash_message($lang->error_missing_hid, 'error');
admin_redirect("index.php?module=config-help_documents");