From 55f297ca1c4d59b2e67e787e0e856a7e6a3b26a2 Mon Sep 17 00:00:00 2001 From: Thomas Chazot Date: Tue, 10 Jan 2023 14:27:12 +0100 Subject: [PATCH] test --- api-rest/gateways/userGateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);