Code Duplication    Length = 6-6 lines in 2 locations

ecrire/urls/propres.php 2 locations

@@ 193-198 (lines=6) @@
190
	}
191
192
	// Mode compatibilite pour conserver la distinction -Rubrique-
193
	if (_MARQUEUR_URL) {
194
		$marqueur = unserialize(_MARQUEUR_URL);
195
		$marqueur1 = $marqueur[$type.'1']; // debut '+-'
196
		$marqueur2 = $marqueur[$type.'2']; // fin '-+'
197
	} else
198
		$marqueur1 = $marqueur2 = '';
199
	// fin
200
201
	// Mode propre
@@ 339-344 (lines=6) @@
336
		'type='.sql_quote($row['type']).' AND id_objet='.sql_quote($row['id_objet'])
337
		.' AND date>'.sql_quote($row['date']), '', 'date DESC', 1)) {
338
			// Mode compatibilite pour conserver la distinction -Rubrique-
339
			if (_MARQUEUR_URL) {
340
				$marqueur = unserialize(_MARQUEUR_URL);
341
				$marqueur1 = $marqueur[$type.'1']; // debut '+-'
342
				$marqueur2 = $marqueur[$type.'2']; // fin '-+'
343
			} else
344
				$marqueur1 = $marqueur2 = '';
345
			$url_redirect = $marqueur1 . $recent['url'] . $marqueur2;
346
		}
347
	}