Code Duplication    Length = 2-2 lines in 2 locations

ecrire/public/assembler.php 2 locations

@@ 584-585 (lines=2) @@
581
			$texte = $head . substr($texte,$poshead);
582
			// gerer les ancres
583
			$base = $_SERVER['REQUEST_URI'];
584
			if (strpos($texte,"href='#")!==false)
585
				$texte = str_replace("href='#","href='$base#",$texte);
586
			if (strpos($texte, "href=\"#")!==false)
587
				$texte = str_replace("href=\"#","href=\"$base#",$texte);
588
		}
@@ 586-587 (lines=2) @@
583
			$base = $_SERVER['REQUEST_URI'];
584
			if (strpos($texte,"href='#")!==false)
585
				$texte = str_replace("href='#","href='$base#",$texte);
586
			if (strpos($texte, "href=\"#")!==false)
587
				$texte = str_replace("href=\"#","href=\"$base#",$texte);
588
		}
589
	}
590
}