diff options
author | Byron Jones <bjones@mozilla.com> | 2013-09-23 16:47:42 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-09-23 16:47:42 +0200 |
commit | d8d71e7b76ec830b705d5b96d0c30d19484e34ab (patch) | |
tree | 7f59f62de5f3325ce6c5d11dc1aa110516bd580a /show_bug.cgi | |
parent | 92d593d895f6fab1f5627493ab3cd0c66446f184 (diff) | |
download | bugzilla-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-x | show_bug.cgi | 2 |
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(); |