Code Duplication    Length = 2-2 lines in 2 locations

ecrire/public/criteres.php 2 locations

@@ 50-51 (lines=2) @@
47
	$boucle = &$boucles[$idb];
48
	$id = $boucle->primary;
49
50
	if ($not OR !$id)
51
		return (array('zbug_critere_inconnu', array('critere' => $not . $crit->op)));
52
	$arg = kwote(calculer_argument_precedent($idb, $id, $boucles));
53
	$boucle->where[]= array("'!='", "'$boucle->id_table." . "$id'", $arg);
54
}
@@ 442-443 (lines=2) @@
439
		else if (isset($exceptions_des_jointures[$par])) {
440
			list($table, $champ) =  $exceptions_des_jointures[$par];
441
			$order = critere_par_joint($table, $champ, $boucle, $idb);
442
			if (!$order)
443
				return (array('zbug_critere_inconnu', array('critere' => $crit->op . " $par")));
444
		}
445
		else if ($par == 'date'
446
		AND isset($GLOBALS['table_date'][$boucle->type_requete])) {