From: Henri-Damien LAURENT <[email protected]>

Edit by Owen Leonard: Pulling changes from Bug 5436, I see a couple of changes 
related to patron
renewal. These changes seem to simply rename a variable in the script and the
template. I can't tell if it changes are fixing any bug or not.
---
 circ/circulation.pl                                |    4 ++--
 .../prog/en/modules/circ/circulation.tt            |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/circ/circulation.pl b/circ/circulation.pl
index c34db54..1bb7b72 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -644,8 +644,8 @@ $template->param(
     printername       => $printer,
     firstname         => $borrower->{'firstname'},
     surname           => $borrower->{'surname'},
-    dateexpiry        => format_date($newexpiry),
-    expiry            => format_date($borrower->{'dateexpiry'}),
+    newexpiry         => format_date($newexpiry),
+    expiry            => format_date($borrower->{'newexpiry'}),
     categorycode      => $borrower->{'categorycode'},
     categoryname      => $borrower->{description},
     address           => $address,
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt 
b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
index 4d2459b..caaa665 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -225,7 +225,7 @@ function refocus(calendar) {
 </form>
 </div>
 
-[% IF ( dateexpiry ) %]<div class="dialog message">Patron's account has been 
renewed until [% dateexpiry %]</div>[% END %]
+[% IF ( newexpiry ) %]<div class="dialog message">Patron's account has been 
renewed until [% newexpiry %]</div>[% END %]
 [% IF ( NEEDSCONFIRMATION ) %]
 <div class="yui-g">
 
-- 
1.7.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to