Bug 6472: HidePatronName on detail page broken

TT issue

To test:
- Check out an item to a patron
- Go to detail page of the title in intranet
- Normal view will show cardnumber when HidePatronName is activated
- Normal view will show patron's name, when HidePatronName is off

Hold page was not broken.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Katrin Fischer 2011-06-06 23:32:28 +02:00 committed by Chris Cormack
parent c78a926046
commit 4cf1046816

View file

@ -273,7 +273,7 @@ function verify_images() {
<span class="datedue">Checked out
[% UNLESS ( itemloo.NOTSAMEBRANCH ) %]
to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.borrowernumber %]">
[% IF ( hidepatronname ) %]
[% IF ( itemloo.hidepatronname ) %]
[% itemloo.cardnumber %]
[% ELSE %]
[% itemloo.firstname %] [% itemloo.surname %]