Zeile 421 | Zeile 421 |
---|
"allowsmilies" => $db->escape_string($mybb->input['allowsmilies']), );
|
"allowsmilies" => $db->escape_string($mybb->input['allowsmilies']), );
|
$aid = $db->update_query("announcements", $update_announcement, "aid='{$mybb->input['aid']}'");
| $db->update_query("announcements", $update_announcement, "aid='{$mybb->input['aid']}'");
|
$plugins->run_hooks("admin_forum_announcements_edit_commit"); // Log admin action
|
$plugins->run_hooks("admin_forum_announcements_edit_commit"); // Log admin action
|
log_admin_action($aid, $mybb->input['title']);
| log_admin_action($mybb->input['aid'], $mybb->input['title']);
|
flash_message($lang->success_updated_announcement, 'success'); admin_redirect("index.php?module=forum-announcements");
| flash_message($lang->success_updated_announcement, 'success'); admin_redirect("index.php?module=forum-announcements");
|