Code Duplication    Length = 2-2 lines in 2 locations

ecrire/inc/presentation.php 1 location

@@ 53-54 (lines=2) @@
50
51
	//($id?"id='$id' ":"")
52
	if (strlen($icone) > 1) {
53
		if ($icone_renommer = charger_fonction('icone_renommer', 'inc', true)) {
54
			list($fond, $fonction) = $icone_renommer($icone, $fonction);
55
		}
56
		$size = 24;
57
		if (preg_match("/-([0-9]{1,3})[.](gif|png)$/i", $fond, $match)) {

ecrire/inc/filtres.php 1 location

@@ 4025-4026 (lines=2) @@
4022
4023
	$fond_origine = $fond;
4024
	// remappage des icone : article-24.png+new => article-new-24.png
4025
	if ($icone_renommer = charger_fonction('icone_renommer', 'inc', true)) {
4026
		list($fond, $fonction) = $icone_renommer($fond, $fonction);
4027
	}
4028
4029
	// ajouter le type d'objet dans la class de l'icone