From 096b6bf8690c03c5e6682280d852eaaafd1abafe Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Tue, 22 Sep 2020 13:11:40 +0000
Subject: [PATCH] Bug 11299: (follow-up) correct link

Signed-off-by: Michal Denar <black23@gmail.com>
---
 authorities/authorities.pl                                       | 1 +
 koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/authorities/authorities.pl b/authorities/authorities.pl
index 42b37596b1..4adead909c 100755
--- a/authorities/authorities.pl
+++ b/authorities/authorities.pl
@@ -567,6 +567,7 @@ my $linkid=$input->param('linkid');
 my $authtypecode = $input->param('authtypecode');
 my $breedingid    = $input->param('breedingid');
 
+
 my $dbh = C4::Context->dbh;
 if(!$authtypecode) {
     $authtypecode = $authid ? Koha::Authorities->find($authid)->authtypecode : '';
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
index e1b01a9706..be04b3628d 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
@@ -199,7 +199,7 @@ function addCreateAuthorityButton(tag_subfield_line, heading, tag_index) {
             // Create a new form that will be POSTed in the new window
             var form = $('<form>').attr({
             method: 'post',
-            action: "/cgi-bin/authorities/authorities.pl",
+            action: "/cgi-bin/koha/authorities/authorities.pl",
             target: "new_auth_popup"
             });
             //add the authtypecode
@@ -230,7 +230,6 @@ function addCreateAuthorityButton(tag_subfield_line, heading, tag_index) {
                     value: $(this).val()
                 }));
             });
-
             $('body').append(form);
             form.submit();
             form.remove();
-- 
2.11.0