diff --git a/htdocs/boutique/livre/fiche.php b/htdocs/boutique/livre/fiche.php index d07f9f91eb7..c164a621bc7 100644 --- a/htdocs/boutique/livre/fiche.php +++ b/htdocs/boutique/livre/fiche.php @@ -80,7 +80,10 @@ if ($action == 'update' && !$cancel) { $livre->editeurid = $editeurid; $livre->description = $desc; - $livre->update($id, $user); + if (!$livre->update($id, $user)) + { + $action = 'edit'; + } } if ($action == 'updateosc') { @@ -156,11 +159,24 @@ else print "