aboutsummaryrefslogtreecommitdiffstats
path: root/editflagtypes.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@netscape.net>2017-08-04 01:44:50 +0200
committerFrédéric Buclin <LpSolit@netscape.net>2017-08-04 01:44:50 +0200
commit0e3e52ad51c412fae8c370a23fbfe1048b73ca71 (patch)
tree3781d57a1bca0e64e82d1bf12eedf356b3144d54 /editflagtypes.cgi
parent394462fb627313899fc786a49afec35bd7090427 (diff)
parent070e12173d34e6aeee95e1831f43974810951f0e (diff)
downloadbugs-0e3e52ad51c412fae8c370a23fbfe1048b73ca71.tar
bugs-0e3e52ad51c412fae8c370a23fbfe1048b73ca71.tar.gz
bugs-0e3e52ad51c412fae8c370a23fbfe1048b73ca71.tar.bz2
bugs-0e3e52ad51c412fae8c370a23fbfe1048b73ca71.tar.xz
bugs-0e3e52ad51c412fae8c370a23fbfe1048b73ca71.zip
Sync with upstream 5.0 branch
One single bugfix in the last 14 months since 5.0.3, not bad! :-D (everything else is cosmetic which does not affect Mageia Bugzilla)
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-xeditflagtypes.cgi2
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;
}
}