[Koha-bugs] [Bug 6739] expired patrons not blocked from opac actions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 2 20:23:06 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6739

--- Comment #49 from Kyle M Hall <kyle.m.hall at gmail.com> ---
Comment on attachment 17909
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17909
Bug 6739 - expired patrons not blocked from opac actions - Followup 2

Review of attachment 17909:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=6739&attachment=17909)
-----------------------------------------------------------------

Most of the changes in opac-user.tt are whitespace cleanup. I've marked out the
actual changes.

::: koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt
@@ +70,3 @@
>              });
> +
> +            [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]

This line fixes the renewal links bug.

@@ +132,4 @@
>                  <string>Please note:</string>
>                  <span>
>                      Your account renewal failed because of the following:
> +                    [% FOREACH error IN RENEW_ERROR.split('\|') %]

The pipe character needed escaping, otherwise it was split into an array of
single characters.

@@ +205,5 @@
> +                        [% END %]
> +
> +                        <th>Call No.</th>
> +
> +                        [% IF OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions  ) %]

Here is another actual change.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list