Zeile 81 | Zeile 81 |
---|
if($mybb->input['action'] == "delete") {
|
if($mybb->input['action'] == "delete") {
|
$query = $db->simple_select("badwords", "*", "bid='".$mybb->get_input('bid', 1)."'");
| $query = $db->simple_select("badwords", "*", "bid='".$mybb->get_input('bid', MyBB::INPUT_INT)."'");
|
$badword = $db->fetch_array($query);
// Does the bad word not exist?
| $badword = $db->fetch_array($query);
// Does the bad word not exist?
|
Zeile 122 | Zeile 122 |
---|
if($mybb->input['action'] == "edit") {
|
if($mybb->input['action'] == "edit") {
|
$query = $db->simple_select("badwords", "*", "bid='".$mybb->get_input('bid', 1)."'");
| $query = $db->simple_select("badwords", "*", "bid='".$mybb->get_input('bid', MyBB::INPUT_INT)."'");
|
$badword = $db->fetch_array($query);
// Does the bad word not exist?
| $badword = $db->fetch_array($query);
// Does the bad word not exist?
|