]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
'cgi' is not defined in templates, see bug 913364
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 29 Oct 2014 23:50:11 +0000 (00:50 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 29 Oct 2014 23:50:11 +0000 (00:50 +0100)
template/en/default/global/choose-classification.html.tmpl
template/en/default/global/choose-product.html.tmpl

index 815e625a6111230ac0dadb8d3b886b9acca4a684..8433380ea39987a2bc569ded5245cc8a4ebfa509 100644 (file)
@@ -19,7 +19,9 @@
 [% DEFAULT title = "Choose the classification" %]
 [% PROCESS global/header.html.tmpl %]
 
-[% previous_params = cgi.canonicalise_query('classification') %]
+[% USE Bugzilla %]
+[% previous_params = Bugzilla.cgi.canonicalise_query('classification') %]
+
 <h2>First, you must pick a classification on which to enter [% terms.abug %]:</h2>
 <table id="choose_classification">
   <tr>
index 5dc619087d74a1b9be9d30c9176193f44b623ab3..7349d1ced1fab719a0a385d670855efe2c4b04f3 100644 (file)
@@ -28,7 +28,9 @@
 [% DEFAULT title = "Choose a Product" %]
 [% PROCESS global/header.html.tmpl %]
 
-[% previous_params = cgi.canonicalise_query('classification', 'product') %]
+[% USE Bugzilla %]
+[% previous_params = Bugzilla.cgi.canonicalise_query('classification', 'product') %]
+
 <h2>[% h2 FILTER html %]</h2>
 
 <table id="choose_product">