Fix column name codPays
This commit is contained in:
parent
0ddcbb8acf
commit
ebb28ccf66
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user