Zeile 143 | Zeile 143 |
---|
$ext = get_extension($file); if($ext == "gif" || $ext == "jpg" || $ext == "jpeg" || $ext == "png" || $ext == "bmp") {
|
$ext = get_extension($file); if($ext == "gif" || $ext == "jpg" || $ext == "jpeg" || $ext == "png" || $ext == "bmp") {
|
if(!$aicons[$path.$file])
| if(!isset($aicons[$path.$file]))
|
{ $icons[] = $file; }
| { $icons[] = $file; }
|
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");
|