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

@@ 4211-4212 (lines=2) @@
4208
4209
	$fond_origine = $fond;
4210
	// Remappage des icone : article-24.png+new => article-new-24.png
4211
	if ($icone_renommer = charger_fonction('icone_renommer', 'inc', true)) {
4212
		list($fond, $fonction) = $icone_renommer($fond, $fonction);
4213
	}
4214
4215
	// Ajouter le type d'objet dans la classe