summaryrefslogtreecommitdiffstats
path: root/new_bug.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-12-16 20:17:05 +0100
committerGitHub <noreply@github.com>2017-12-16 20:17:05 +0100
commit334bead74bc9c5e819f14946726eaad40986d636 (patch)
treee7ecf8d4eba2e6a046da8a9dc8828f35b75c7428 /new_bug.cgi
parent49e0df0d4e1b2f25be4ab36660dac5e47768c9a1 (diff)
downloadbugzilla-334bead74bc9c5e819f14946726eaad40986d636.tar.gz
bugzilla-334bead74bc9c5e819f14946726eaad40986d636.tar.xz
Bug 1403777 - Migrate urlbase from params to localconfig
Diffstat (limited to 'new_bug.cgi')
-rw-r--r--new_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/new_bug.cgi b/new_bug.cgi
index 0949f3696..23b55e325 100644
--- a/new_bug.cgi
+++ b/new_bug.cgi
@@ -121,7 +121,7 @@ if (lc($cgi->request_method) eq 'post') {
push(@all_mail_results, $ref_sent);
}
- print $cgi->redirect(correct_urlbase() . 'show_bug.cgi?id='.$new_bug->bug_id);
+ print $cgi->redirect(Bugzilla->localconfig->{urlbase} . 'show_bug.cgi?id='.$new_bug->bug_id);
} else {
print $cgi->header();
$template->process("bug/new_bug.html.tmpl",