Zeile 24 | Zeile 24 |
---|
$query = $db->simple_select("warnings", "*", "wid='".$mybb->get_input('wid', MyBB::INPUT_INT)."'"); $warning = $db->fetch_array($query);
|
$query = $db->simple_select("warnings", "*", "wid='".$mybb->get_input('wid', MyBB::INPUT_INT)."'"); $warning = $db->fetch_array($query);
|
if(!$warning['wid'])
| if(!$warning)
|
{ flash_message($lang->error_invalid_warning, 'error'); admin_redirect("index.php?module=tools-warninglog");
| { flash_message($lang->error_invalid_warning, 'error'); admin_redirect("index.php?module=tools-warninglog");
|
Zeile 96 | Zeile 96 |
---|
"); $warning = $db->fetch_array($query);
|
"); $warning = $db->fetch_array($query);
|
if(!$warning['wid'])
| if(!$warning)
|
{ flash_message($lang->error_invalid_warning, 'error'); admin_redirect("index.php?module=tools-warninglog");
| { flash_message($lang->error_invalid_warning, 'error'); admin_redirect("index.php?module=tools-warninglog");
|
Zeile 488 | Zeile 488 |
---|
} else {
|
} else {
|
$user_filters[$key] = null;
| $user_filters[$key] = '';
|
} }
| } }
|