Code Duplication    Length = 1-1 lines in 2 locations

ecrire/public/phraser_html.php 2 locations

@@ 390-390 (lines=1) @@
387
			$champ->avant =
388
				phraser_champs_exterieurs($match[1],$n,$sep,$result);
389
			$debut = substr($champ->apres,1);
390
            if (!empty($debut))
391
                $n += substr_count(substr($texte, 0, strpos($texte, $debut)), "\n");
392
			$champ->apres = phraser_champs_exterieurs($debut,$n,$sep,$result);
393
@@ 774-774 (lines=1) @@
771
			$boucles[$id_boucle] = $result;
772
		$all_res = phraser_champs_etendus($debut, $ligne, $all_res);
773
		$all_res[] = &$boucles[$id_boucle];
774
        if (!empty($suite))
775
            $ligne += substr_count(substr($texte, 0, strpos($texte, $suite)), "\n");
776
		$texte = $suite;
777
	}