Commit ec6dada4 authored by Frédéric Buclin's avatar Frédéric Buclin Committed by David Lawrence

Bug 1310728 - editflagtypes.cgi crashes when classifications are enabled and the…

Bug 1310728 - editflagtypes.cgi crashes when classifications are enabled and the user hasn't global editcomponents privs r/a=dkl
parent 89cb60fe
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment