diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2016-10-17 23:40:21 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-10-17 23:40:21 +0200 |
commit | 7d445a428fc4731006b3743be922a17d84e5155d (patch) | |
tree | e16ec9341e0ed057a35433672da4adfcf614678a /editflagtypes.cgi | |
parent | 0fcb110a32cbf571db7c3c26e2a0658ebea4daf8 (diff) | |
download | bugzilla-7d445a428fc4731006b3743be922a17d84e5155d.tar.gz bugzilla-7d445a428fc4731006b3743be922a17d84e5155d.tar.xz |
Bug 1310728 - editflagtypes.cgi crashes when classifications are enabled and the user hasn't global editcomponents privs
r=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 ba2d4891b..c01bade4a 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; } } |