Fix column name codPays

This commit is contained in:
Michael RICOIS 2017-02-08 13:24:44 +01:00
parent 0ddcbb8acf
commit ebb28ccf66

View File

@ -2499,7 +2499,7 @@ class Interne extends Scores_Ws_Server
//Retrieve data
try {
$sql = "SELECT id, idLocal, idLocalLong, idPrincipal, infoIden FROM sdv1.tabIdLocal
WHERE (codePays=:pays OR codePays IS NULL) AND dateSuppr='0000-00-00 00:00:00'";
WHERE (codPays=:pays OR codPays IS NULL) AND dateSuppr='0000-00-00 00:00:00'";
$stmt = $this->conn->prepare($sql);
$stmt->bindValue('pays', $codeCountry);
$stmt->execute();