Vergleich admin/modules/config/report_reasons.php - 1.8.36 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 125Zeile 125
	$query = $db->simple_select("reportreasons", "*", "rid='".$mybb->get_input('rid', MyBB::INPUT_INT)."'");
$reason = $db->fetch_array($query);


	$query = $db->simple_select("reportreasons", "*", "rid='".$mybb->get_input('rid', MyBB::INPUT_INT)."'");
$reason = $db->fetch_array($query);


	if(!$reason['rid'])

	if(!$reason)

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

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

Zeile 243Zeile 243
	$query = $db->simple_select("reportreasons", "*", "rid='".$mybb->get_input('rid', MyBB::INPUT_INT)."'");
$reason = $db->fetch_array($query);


	$query = $db->simple_select("reportreasons", "*", "rid='".$mybb->get_input('rid', MyBB::INPUT_INT)."'");
$reason = $db->fetch_array($query);


	if(!$reason['rid'])

	if(!$reason)

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

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