Vergleich admin/modules/config/post_icons.php - 1.8.34 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 143Zeile 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 304Zeile 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 387Zeile 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");