diff --git a/api-rest/gateways/userGateway.php b/api-rest/gateways/userGateway.php index 7f78c34..4fb4717 100644 --- a/api-rest/gateways/userGateway.php +++ b/api-rest/gateways/userGateway.php @@ -136,7 +136,7 @@ class UserGateway{ 'dateOfBirth' => array($dateOfBirth, PDO::PARAM_STR)); $this->connection->execQuery($insertUserQuery, $argUser); $this->connection->execQuery($getLastIdQuery, array()); - $res=$this->connection->getResults(); + $res=$this->connection->getRes(); foreach($res as $row){ echo "la je met le premier"; $this->putSkinList($row['PK_ID'], 1);