[Koha-patches] [PATCH] improved POD for C4::Serials::HasSubscriptionExpired()
Galen Charlton
galen.charlton at liblime.com
Sun Apr 26 16:48:41 CEST 2009
---
C4/Serials.pm | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/C4/Serials.pm b/C4/Serials.pm
index 5709519..aedc9c5 100644
--- a/C4/Serials.pm
+++ b/C4/Serials.pm
@@ -1778,12 +1778,14 @@ sub ItemizeSerials {
=over 4
-1 or 0 = HasSubscriptionExpired($subscriptionid)
+$has_expired = HasSubscriptionExpired($subscriptionid)
the subscription has expired when the next issue to arrive is out of subscription limit.
return :
-1 if true, 0 if false.
+0 if the subscription has not expired
+1 if the subscription has expired
+2 if has subscription does not have a valid expiration date set
=back
--
1.5.6.5
More information about the Koha-patches
mailing list