From 18ccc377e0d2ba22a4985c713a2c806027565ab4 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 23 Jul 2017 02:03:05 +0200 Subject: [PATCH] test#2 --- build/api/module/machineDefault.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/api/module/machineDefault.php b/build/api/module/machineDefault.php index 871c62f..03219dd 100755 --- a/build/api/module/machineDefault.php +++ b/build/api/module/machineDefault.php @@ -691,7 +691,7 @@ /* (2) On gère l'erreur */ if( $updateNetId->error->get() != Err::Success || !$updateNetId->answer() ) - return [ 'error' => new Error(Err::RepoError) ]; + return [ 'error' => new Error(Err::RepoError), 'details' => $updatedNetId->answer() ]; /* [3] Gestion des données à envoyer