From dfb6ca49d85a3d66f0628b8c5cc3f9b8ba65c430 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 8 Jun 2016 10:24:56 +0000 Subject: [PATCH] Bug 16692 - Error "No method update!" when creating new serial issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit An improper method call was left over in C4::Serials::NewIssue from the switch from DBIx::Class to Koha::Object. Test Plan: 1) prove t/db_dependent/Serials.t 2) Note the errors 3) Apply this patch 4) prove t/db_dependent/Serials.t 5) No errors! Signed-off-by: Jacek Ablewicz Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 557a5989093982f41173df8267658cb1d90e76cd) Signed-off-by: Frédéric Demians --- C4/Serials.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index faef41cbc8..dcb7172c7b 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -1600,7 +1600,7 @@ sub NewIssue { $subscription_history->recievedlist($recievedlist); $subscription_history->missinglist($missinglist); - $subscription_history->update(); + $subscription_history->store(); return $serialid; } -- 2.39.5