From c8e03f1dc8325833cbda218ad196bafb9a957c0b Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Thu, 31 Aug 2017 09:45:37 +0000 Subject: [PATCH] Bug 17047 - Fix an error when cretaing subscription --- serials/subscription-add.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index ab495bd..6d7d566 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -304,7 +304,7 @@ sub manage_subscription_numbering_pattern_id { return $existing->id; } - $params->{label} = Koha::Subscription::Numberpattern->uniqueLabel($query->param('patternname')); + $params->{label} = Koha::Subscription::Numberpatterns->uniqueLabel($query->param('patternname')); $params->{description} = $query->param('sndescription'); -- 2.7.4