Zeile 304 | Zeile 304 |
---|
$query = $db->simple_select("icons", "*", "iid='".$mybb->get_input('iid', MyBB::INPUT_INT)."'"); $icon = $db->fetch_array($query);
|
$query = $db->simple_select("icons", "*", "iid='".$mybb->get_input('iid', MyBB::INPUT_INT)."'"); $icon = $db->fetch_array($query);
|
if(!$icon['iid'])
| if(!$icon)
|
{ flash_message($lang->error_invalid_post_icon, 'error'); admin_redirect("index.php?module=config-post_icons");
| { flash_message($lang->error_invalid_post_icon, 'error'); admin_redirect("index.php?module=config-post_icons");
|
Zeile 387 | Zeile 387 |
---|
$query = $db->simple_select("icons", "*", "iid='".$mybb->get_input('iid', MyBB::INPUT_INT)."'"); $icon = $db->fetch_array($query);
|
$query = $db->simple_select("icons", "*", "iid='".$mybb->get_input('iid', MyBB::INPUT_INT)."'"); $icon = $db->fetch_array($query);
|
if(!$icon['iid'])
| if(!$icon)
|
{ flash_message($lang->error_invalid_post_icon, 'error'); admin_redirect("index.php?module=config-post_icons");
| { flash_message($lang->error_invalid_post_icon, 'error'); admin_redirect("index.php?module=config-post_icons");
|