Zeile 125 | Zeile 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 243 | Zeile 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");
|