From 6a2a33b59957fc29f86d2602ff112fbc76553b9b 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 --- C4/Serials.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index eca9b13..f38b03b 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -1599,7 +1599,7 @@ sub NewIssue { $subscription_history->recievedlist($recievedlist); $subscription_history->missinglist($missinglist); - $subscription_history->update(); + $subscription_history->store(); return $serialid; } -- 2.8.1