aboutsummaryrefslogtreecommitdiffstats
path: root/sidebar.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-06 18:52:28 +0000
committergerv%gerv.net <>2002-10-06 18:52:28 +0000
commitb8851cdd5c15e0d21543d9fe08159b9ced8c950f (patch)
treece1c674c28c6491d3a86e3afb182963737666e2d /sidebar.cgi
parentf50efb95e1c7462699f1179d0a62b1ee7118e67e (diff)
downloadbugs-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar
bugs-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.gz
bugs-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.bz2
bugs-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.xz
bugs-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.zip
Bug 163114 - Templatise all calls to DisplayError. Patch D (the last one). Patch by gerv; r=burnus.
Diffstat (limited to 'sidebar.cgi')
-rwxr-xr-xsidebar.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/sidebar.cgi b/sidebar.cgi
index ec021ea1c..7cf823aaa 100755
--- a/sidebar.cgi
+++ b/sidebar.cgi
@@ -68,8 +68,7 @@ if ($useragent =~ m:Mozilla/([1-9][0-9]*):i && $1 >= 5 && $useragent !~ m/compat
$template->process("sidebar.xul.tmpl", $vars)
|| ThrowTemplateError($template->error());
} else {
- DisplayError("sidebar.cgi currently only supports Mozilla based web browsers");
- exit;
+ ThrowUserError("sidebar_supports_mozilla_only");
}