From 932453598567be072b77085d11676bf074dcbcaf Mon Sep 17 00:00:00 2001 From: Rafal Kopaczka Date: Tue, 6 Oct 2015 14:57:52 +0200 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 390233a10c789a241f948f0f41df92fda3e51052) Signed-off-by: Chris Cormack (cherry picked from commit bacb9773170cf3c37c3e2e0b21ee23c78b6ce502) Signed-off-by: Liz Rea --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 -- 1 file changed, 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 5d40dd1597..34e0c15600 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -805,8 +805,6 @@ function verify_images() { [% END %] [% IF CAN_user_editcatalogue_edit_items and not item.cannot_be_edited %] Edit - [% ELSE %] - [% END %] [% END %] -- 2.39.5