From cbacf68d7fb554bd949e2f498c1eda86b34ef97f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 17 May 2019 12:30:47 +0000 Subject: [PATCH] Bug 22934: Add missing use statement Also fixes a typo To test: 1 - Add a subscription to a record 2 - Add an additional field in the admin section 3 - Edit the subscription and define the additional field 4 - Ensure you can view the record in the staff client and opac 5 - Without patch ,in the subscription detail page,click the link of the record title. => software error. 6 - Apply the patch. => no error anymore. Signed-off-by: Owen Leonard Signed-off-by: Bin Wen Signed-off-by: Marcel de Rooy Fixed another typo on L21 Signed-off-by: Nick Clemens --- Koha/AdditionalFieldValue.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/AdditionalFieldValue.pm b/Koha/AdditionalFieldValue.pm index 69515cd1af..6af87a9d9d 100644 --- a/Koha/AdditionalFieldValue.pm +++ b/Koha/AdditionalFieldValue.pm @@ -1,6 +1,7 @@ package Koha::AdditionalFieldValue; use Modern::Perl; +use Koha::AdditionalField; use base 'Koha::Object'; @@ -17,7 +18,7 @@ values =head3 field -Return the Koha:AdditionalField object for this AdditionalFeidlValue +Return the Koha::AdditionalField object for this AdditionalFieldValue =cut -- 2.39.5