fix base sur requete

This commit is contained in:
Claire DELBOS 2017-03-29 12:18:25 +02:00
parent 9adeda59ae
commit c6716c0f81

View File

@ -82,7 +82,7 @@ class Metier_Credit_Information extends Scores_Ws_Server
*/
public function getInfosFacture($id){
$sql='select c.*, u.idClient, u.siret, u.email,u.nom,u.prenom
from sdv1.credit__paid c inner join utilisateurs u on c.idUser=u.id
from sdv1.credit__paid c inner join sdv1.utilisateurs u on c.idUser=u.id
where c.id= :id;';
$stmt = $this->conn->prepare($sql);
$stmt->bindValue('id', $id);