Bug 22934: Add missing use statement
authorroot <root@f1ebe1bec408>
Fri, 17 May 2019 12:30:47 +0000 (12:30 +0000)
committerroot <root@3a587d3cf21c>
Thu, 23 May 2019 14:43:16 +0000 (14:43 +0000)
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 <oleonard@myacpl.org>
Signed-off-by: Bin Wen <bin.wen@inlibro.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Fixed another typo on L21

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Koha/AdditionalFieldValue.pm

index 69515cd..6af87a9 100644 (file)
@@ -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