Merge pull request #29038 from fappels/develop_fix_cancel_edit_line_dipatch

Fix cancel edit line dispatch should not update line
This commit is contained in:
Laurent Destailleur 2024-03-23 17:23:21 +01:00 committed by GitHub
commit 52f0a3ede2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -451,7 +451,7 @@ if ($action == 'confirm_deleteline' && $confirm == 'yes' && $permissiontoreceive
}
// Update a dispatched line
if ($action == 'updateline' && $permissiontoreceive) {
if ($action == 'updateline' && $permissiontoreceive && empty($cancel)) {
$db->begin();
$error = 0;