diff --git a/Modele/Typeavenant.php b/Modele/Typeavenant.php index 7e6ba56..1955fee 100644 --- a/Modele/Typeavenant.php +++ b/Modele/Typeavenant.php @@ -23,9 +23,9 @@ class Typeavenant extends Modele { if (est_anglophone()) { - $sql = 'SELECT A.codeTypeAvenant as `code`, A.libelleEng as libelle FROM typeavenant A + $sql = 'SELECT A.codeTypeAvenant as `code`, A.libelleEng AS libelle FROM typeavenant A join suiteavenant B on (B.codeTypeAvenant=A.codeTypeAvenant) - where (B.oldCodeTypeAvenant=?) and A.order by A.libelleEng'; + where (B.oldCodeTypeAvenant=?) and A.extranetClient="1" order by A.libelle'; } else {