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 <abl@biblos.pk.edu.pl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle Hall 2016-06-08 10:24:56 +00:00
parent 5820744675
commit 557a598909

View file

@ -1600,7 +1600,7 @@ sub NewIssue {
$subscription_history->recievedlist($recievedlist);
$subscription_history->missinglist($missinglist);
$subscription_history->update();
$subscription_history->store();
return $serialid;
}