From 58df1cb4cdbccbaf0845e0da6c7232d410d56915 Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Mon, 28 Nov 2022 13:21:40 +0100 Subject: [PATCH] insertAndMakeListUser.php update --- Sources/php_script/script/insertAndMakeListUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/php_script/script/insertAndMakeListUser.php b/Sources/php_script/script/insertAndMakeListUser.php index 4c5fc1c..8076241 100644 --- a/Sources/php_script/script/insertAndMakeListUser.php +++ b/Sources/php_script/script/insertAndMakeListUser.php @@ -25,7 +25,7 @@ function insertUserAndReturnList(): array|int include "config.php"; $res = connection(); - if ($res == -1) { + if (strcmp(gettype($res),"integer")==0) { return 2; }