From e0bb1698da7bbafbc1316368207c9495b648669c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 12 Dec 2023 18:23:42 +0000 Subject: [PATCH] Bug 28844: (follow-up) Adjust suggestion id comparison Signed-off-by: Nick Clemens --- acqui/addorder.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/addorder.pl b/acqui/addorder.pl index 01bfabc8eaf..bd55caf69e9 100755 --- a/acqui/addorder.pl +++ b/acqui/addorder.pl @@ -349,7 +349,7 @@ if ( $basket->{is_standing} || $orderinfo->{quantity} ne '0' ) { # change suggestion status if applicable if ( my $suggestionid = $input->param('suggestionid') ) { # Double checking we are going to edit the correct suggestion - if ( $suggestionid == $order->suggestion->suggestion ) { + if ( $suggestionid == $order->suggestion->id ) { ModSuggestion( { suggestionid => $suggestionid, -- 2.30.2