fix base sur requete
This commit is contained in:
parent
9adeda59ae
commit
c6716c0f81
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user