Code Duplication    Length = 2-2 lines in 2 locations

ecrire/inc/presentation.php 1 location

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

ecrire/inc/filtres.php 1 location

@@ 4196-4197 (lines=2) @@
4193
4194
	$fond_origine = $fond;
4195
	// Remappage des icone : article-24.png+new => article-new-24.png
4196
	if ($icone_renommer = charger_fonction('icone_renommer', 'inc', true)) {
4197
		list($fond, $fonction) = $icone_renommer($fond, $fonction);
4198
	}
4199
4200
	// Ajouter le type d'objet dans la classe