Zeile 264 | Zeile 264 |
---|
'reasonid' => 1, 'reason' => $db->escape_string($reason['title']) );
|
'reasonid' => 1, 'reason' => $db->escape_string($reason['title']) );
|
$db->update_query("reports", $updated_report, "reasonid='{$reason['rid']}'");
| $db->update_query("reportedcontent", $updated_report, "reasonid='{$reason['rid']}'");
|
$db->delete_query("reportreasons", "rid='{$reason['rid']}'");
| $db->delete_query("reportreasons", "rid='{$reason['rid']}'");
|
Zeile 278 | Zeile 278 |
---|
} else {
|
} else {
|
$page->output_confirm_action("index.php?module=config-report_reasons&action=delete&qid={$question['qid']}", $lang->confirm_reason_deletion);
| $page->output_confirm_action("index.php?module=config-report_reasons&action=delete&rid={$reason['rid']}", $lang->confirm_reason_deletion);
|
} }
| } }
|