Skip to content

Commit

Permalink
fix: on edit line contrat, if failed at the end, stay on edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Jul 3, 2024
1 parent 29dd8ad commit cd88f40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/contrat/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,8 @@
$result = $objectline->update($user);
if ($result < 0) {
$error++;
$action = 'editline';
$_GET['rowid'] = GETPOST('elrowid');
setEventMessages($objectline->error, $objectline->errors, 'errors');
}
}
Expand Down

0 comments on commit cd88f40

Please sign in to comment.