Skip to content

Commit

Permalink
Fix cancel edit line dispatch should not update line
Browse files Browse the repository at this point in the history
  • Loading branch information
fappels committed Mar 23, 2024
1 parent d448b57 commit 7521feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fourn/commande/dispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
}

// Update a dispatched line
if ($action == 'updateline' && $permissiontoreceive) {
if ($action == 'updateline' && $permissiontoreceive && empty($cancel)) {
$db->begin();
$error = 0;

Expand Down

0 comments on commit 7521feb

Please sign in to comment.