diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2016-10-17 21:43:31 +0000 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-10-17 21:43:31 +0000 |
commit | ec6dada4bc0d26ca09ba26b169aff3be9575f99e (patch) | |
tree | 06503b09f1bd164f19df51b8dd88eda1f318a965 /editflagtypes.cgi | |
parent | 89cb60fe38a7962c876bce18368db90cedda84eb (diff) | |
download | bugs-ec6dada4bc0d26ca09ba26b169aff3be9575f99e.tar bugs-ec6dada4bc0d26ca09ba26b169aff3be9575f99e.tar.gz bugs-ec6dada4bc0d26ca09ba26b169aff3be9575f99e.tar.bz2 bugs-ec6dada4bc0d26ca09ba26b169aff3be9575f99e.tar.xz bugs-ec6dada4bc0d26ca09ba26b169aff3be9575f99e.zip |
Bug 1310728 - editflagtypes.cgi crashes when classifications are enabled and the user hasn't global editcomponents privs
r/a=dkl
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-x | editflagtypes.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editflagtypes.cgi b/editflagtypes.cgi index d0b9443b5..71f7cb655 100755 --- a/editflagtypes.cgi +++ b/editflagtypes.cgi @@ -453,7 +453,7 @@ sub get_products_and_components { # Let's sort the list by classifications. @products = (); - push(@products, @{$class{$_->id}}) foreach Bugzilla::Classification->get_all; + push(@products, @{$class{$_->id} || []}) foreach Bugzilla::Classification->get_all; } } |