Fix Lien Code Pays

This commit is contained in:
Michael RICOIS 2017-02-15 11:48:45 +01:00
parent bac0e4f2b8
commit d0139de3e5

View File

@ -537,7 +537,7 @@ class Metier_Liens_Base
$stmt->execute();
if ($stmt->rowCount() > 0) {
$data = array();
foreach ($rows as $item) {
while($item = $stmt->fetch(PDO::FETCH_OBJ)) {
$data[$item->codPays3] = $item->libPays;
}
return $data;