This commit is contained in:
xdrm-brackets 2017-07-23 02:09:38 +02:00
parent c357d2fc1b
commit 8a7b0db0f1
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@
]); ]);
/* (2) On gère l'erreur */ /* (2) On gère l'erreur */
if( $updateNetId->error->get() != Err::Success || !$updateNetId->answer() ) if( !$updateNetId->answer() )
return [ 'error' => new Error(Err::RepoError), 'details' => $updatedNetId->answer() ]; return [ 'error' => new Error(Err::RepoError), 'details' => $updatedNetId->answer() ];