From 2e9db19bedb0a19ce1cff0772ab2c22fc5c8fb3d Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Wed, 26 Nov 2025 06:46:30 +0100 Subject: [PATCH] Use $object --- htdocs/accountancy/bookkeeping/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/accountancy/bookkeeping/card.php b/htdocs/accountancy/bookkeeping/card.php index 85915ce0a43..598fa253c41 100644 --- a/htdocs/accountancy/bookkeeping/card.php +++ b/htdocs/accountancy/bookkeeping/card.php @@ -1019,7 +1019,7 @@ if ($action == 'create') { $total_debit += $line->debit; $total_credit += $line->credit; - if ($action == 'update' && $line->id == $id && empty($line->date_validation)) { + if ($action == 'update' && $line->id == $id && empty($object->date_validation)) { print ''; print ''; print '';