From 2d75d2e6d178e508184b06a7c8d6b0a4cc7fbd1d 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 Signed-off-by: Kyle M Hall --- 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.10.2