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);
|
} }
| } }
|
Zeile 297 | Zeile 297 |
---|
$plugins->run_hooks("admin_config_report_reasons_start_commit");
|
$plugins->run_hooks("admin_config_report_reasons_start_commit");
|
//$cache->update_reportreasons();
| $cache->update_reportreasons();
|
flash_message($lang->success_reasons_disporder_updated, 'success'); admin_redirect("index.php?module=config-report_reasons");
| flash_message($lang->success_reasons_disporder_updated, 'success'); admin_redirect("index.php?module=config-report_reasons");
|