Bug 32472: Fix wrong POD for bookseller->subscriptions
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 15 Dec 2022 10:04:14 +0000 (10:04 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Mar 2023 14:02:23 +0000 (11:02 -0300)
You should not call this in list context anymore after
bug 29844.

Test plan:
Check pod of Bookseller.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Acquisition/Bookseller.pm

index 26a0a43..7cf76d6 100644 (file)
@@ -63,7 +63,7 @@ sub contacts {
 =head3 subscriptions
 
     my $vendor        = Koha::Acquisition::Booksellers->find( $id );
-    my @subscriptions = $vendor->subscriptions();
+    my $subscriptions = $vendor->subscriptions();
 
 Returns the list of subscriptions for the vendor