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; }