Added 'saved': 0 by default if fetchDefault::dispatch error in dispatched method

This commit is contained in:
xdrm-brackets 2017-10-13 19:07:31 +02:00
parent 0c5d528813
commit 21570a7328
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
/* (4) Gestion erreur */ /* (4) Gestion erreur */
if( $response->error->get() != Err::Success ) if( $response->error->get() != Err::Success )
return ['error' => new Error(Err::ModuleError)]; return [ 'saved' => 0 ];
/* (5) Remontée du résultat */ /* (5) Remontée du résultat */
return [ return [