summaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-09-23 16:47:42 +0200
committerByron Jones <bjones@mozilla.com>2013-09-23 16:47:42 +0200
commitd8d71e7b76ec830b705d5b96d0c30d19484e34ab (patch)
tree7f59f62de5f3325ce6c5d11dc1aa110516bd580a /show_bug.cgi
parent92d593d895f6fab1f5627493ab3cd0c66446f184 (diff)
downloadbugzilla-d8d71e7b76ec830b705d5b96d0c30d19484e34ab.tar.gz
bugzilla-d8d71e7b76ec830b705d5b96d0c30d19484e34ab.tar.xz
fix uninit warning in show_bug when passed invalid bug id
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index f6c845ea9..99679f7ad 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -136,7 +136,7 @@ $template->process($format->{'template'}, $vars)
|| ThrowTemplateError($template->error());
$timings->time('template_time');
-if (scalar(@bugs) == 1) {
+if (scalar(@bugids) == 1) {
$timings->label('bug-' . $bugs[0]->id);
$timings->label('user-' . $user->id);
$timings->log();