Zeile 162 | Zeile 162 |
---|
"message" => $db->escape_string($mybb->input['message']), "startdate" => $startdate, "enddate" => $enddate,
|
"message" => $db->escape_string($mybb->input['message']), "startdate" => $startdate, "enddate" => $enddate,
|
"allowhtml" => $db->escape_string($mybb->input['allowhtml']), "allowmycode" => $db->escape_string($mybb->input['allowmycode']), "allowsmilies" => $db->escape_string($mybb->input['allowsmilies']),
| "allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT), "allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT), "allowsmilies" => $mybb->get_input('allowsmilies', MyBB::INPUT_INT)
|
);
$aid = $db->insert_query("announcements", $insert_announcement);
| );
$aid = $db->insert_query("announcements", $insert_announcement);
|
Zeile 543 | Zeile 543 |
---|
"message" => $db->escape_string($mybb->input['message']), "startdate" => $startdate, "enddate" => $enddate,
|
"message" => $db->escape_string($mybb->input['message']), "startdate" => $startdate, "enddate" => $enddate,
|
"allowhtml" => $db->escape_string($mybb->input['allowhtml']), "allowmycode" => $db->escape_string($mybb->input['allowmycode']), "allowsmilies" => $db->escape_string($mybb->input['allowsmilies']),
| "allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT), "allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT), "allowsmilies" => $mybb->get_input('allowsmilies', MyBB::INPUT_INT)
|
);
$plugins->run_hooks("admin_forum_announcements_edit_commit");
| );
$plugins->run_hooks("admin_forum_announcements_edit_commit");
|