From 782719c1f702473f6d0e6caa852d5b107ab911a4 Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Mon, 28 Nov 2022 17:19:50 +0100 Subject: [PATCH] insertAndMakeListUser.php update --- Sources/php_script/script/insertAndMakeListUser.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/php_script/script/insertAndMakeListUser.php b/Sources/php_script/script/insertAndMakeListUser.php index 2f98071..270ebd7 100644 --- a/Sources/php_script/script/insertAndMakeListUser.php +++ b/Sources/php_script/script/insertAndMakeListUser.php @@ -86,9 +86,6 @@ function insertUserAndReturnList(): array|int } } - if (!empty($listUser)){ - return 2; - } return $listUser; //Return an array } else { //If the method POST return nothing