Vergleich admin/modules/config/post_icons.php - 1.8.5 - 1.8.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 333Zeile 333

$plugins->run_hooks("admin_config_post_icons_edit_commit");



$plugins->run_hooks("admin_config_post_icons_edit_commit");


			$db->update_query("icons", $updated_icon, "iid='".$mybb->get_input('iid', MyBB::INPUT_INT)."'");

			$db->update_query("icons", $updated_icon, "iid='{$icon['iid']}'");


$cache->update_posticons();



$cache->update_posticons();


Zeile 465Zeile 465
	while($icon = $db->fetch_array($query))
{
$icon['path'] = str_replace("{theme}", "images", $icon['path']);

	while($icon = $db->fetch_array($query))
{
$icon['path'] = str_replace("{theme}", "images", $icon['path']);

		if(my_strpos($icon['path'], "p://") || substr($icon['path'], 0, 1) == "/")

		if(my_validate_url($icon['path'], true))

		{
$image = $icon['path'];
}

		{
$image = $icon['path'];
}