From 60356b5f4c8aff7410840f65776b0c20960d905b Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 8 Oct 2009 16:01:00 +0200 Subject: [PATCH] Followup : authorities frameworks were not editable Followup to : 85fcede8ce4cc79d6f8daa7204133fca50275e35 --- admin/auth_tag_structure.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl index 4cd9b75508..4f30d23f79 100755 --- a/admin/auth_tag_structure.pl +++ b/admin/auth_tag_structure.pl @@ -72,6 +72,7 @@ if (!$op or $op eq 'authtype_create_confirm') { $sth->execute($authtypecode); my ($authtypeexist) = $sth->fetchrow; if ($authtypeexist) { + $op||="else"; } else { # if authtype does not exists, then OP must be changed to "create authtype" if we are not on the way to create it # (op = authtyp_create_confirm) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tmpl index 2c127e7d85..1a214661b5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tmpl @@ -152,7 +152,7 @@ $(document).ready(function() { - &op=else" class="button parameters" >MARC structure + " class="button parameters" >MARC structure ?op=add_form&authtypecode=">Edit ?op=delete_confirm&authtypecode=">Delete -- 2.20.1