Skip to content
Snippets Groups Projects
Commit cf02cb68 authored by Nikolay Lobachev's avatar Nikolay Lobachev Committed by Kristiaan Van den Eynde
Browse files

Issue #3307282 by LOBsTerr: addPageBundles incorrectly filters bundles

parent f7462ffe
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,7 @@ class GroupRelationshipController extends ControllerBase {
$relation = $relationship_type->getPlugin();
// Check the base plugin ID if a plugin filter was specified.
if ($base_plugin_id && $relation->getBaseId() === $base_plugin_id) {
if ($base_plugin_id && $relation->getBaseId() !== $base_plugin_id) {
unset($relationship_types[$relationship_type_id]);
}
// Skip the bundle if we are listing bundles that allow you to create an
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment