From 557a5989093982f41173df8267658cb1d90e76cd 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 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 --- C4/Serials.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 39e0e96e79..02349a4c64 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.2