From a62811200ae422df7e19e00f374eb6de184dcbee Mon Sep 17 00:00:00 2001 From: Mason James Date: Tue, 13 Nov 2007 11:59:11 -0600 Subject: [PATCH] bug 1566, enddate not showing. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- serials/subscription-detail.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index 2728df5dfa..7110476b54 100755 --- a/serials/subscription-detail.pl +++ b/serials/subscription-detail.pl @@ -40,8 +40,9 @@ my ($subscriptionid,$auser,$librarian,$cost,$aqbooksellerid, $aqbooksellername,$ $numberingmethod, $status, $biblionumber, $bibliotitle, $callnumber, $notes, $hemisphere,$letter,$manualhistory,$histstartdate,$enddate,$missinglist,$recievedlist,$opacnote,$librariannote); $subscriptionid = $query->param('subscriptionid'); - my $subs = &GetSubscription($subscriptionid); +$subs->{enddate} = GetExpirationDate($subscriptionid); + if ($op eq 'del') { if ($subs->{'cannotedit'}){ warn "Attempt to delete subscription $subscriptionid by ".C4::Context->userenv->{'id'}." not allowed"; -- 2.39.5