summaryrefslogtreecommitdiffstats
path: root/userprefs.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-24 16:24:43 +0200
committergerv%gerv.net <>2002-04-24 16:24:43 +0200
commit05d101e58b400b1a52adcc86515b5442b85cd2f5 (patch)
treeded36788873d147ce2a62bd76239e0e99974c621 /userprefs.cgi
parentc29a6dcb565731ef6757a625b7374e7ff46d417c (diff)
downloadbugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.gz
bugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.xz
Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke.
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index ddeb0f1f7..79690563c 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -409,7 +409,6 @@ SWITCH: for ($current_tab_name) {
# Generate and return the UI (HTML page) from the appropriate template.
print "Content-type: text/html\n\n";
-$template->process("prefs/userprefs.tmpl", $vars)
- || DisplayError("Template process failed: " . $template->error())
- && exit;
+$template->process("account/prefs/prefs.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());