Bug 14966: Table header broken at detail.tt

For user without item edit permission, table at catalogue/detail.pl is
corrupted.

Test plan:
1) Log in as staff member, without edit item permission.
2) Go to biblio view, with items attached:
/cgi-bin/koha/catalogue/detail.pl?biblionumber=X. Confirm that table
does not display correctly.
3) Apply patch.
4) Repeat steps 1 and 2. Confirm patch works.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Rafal Kopaczka 2015-10-06 14:57:52 +02:00 committed by Tomas Cohen Arazi
parent 852075d48e
commit 390233a10c

View file

@ -809,8 +809,6 @@ function verify_images() {
[% END %]
[% IF CAN_user_editcatalogue_edit_items and not item.cannot_be_edited %]
<td><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem">Edit</a></td>
[% ELSE %]
<td></td>
[% END %]
</tr>
[% END %]