We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8880115 commit 68b0548Copy full SHA for 68b0548
modules/mod_languages/src/Helper/LanguagesHelper.php
@@ -62,14 +62,15 @@ public function getLanguages(&$params)
62
}
63
64
// Load associations
65
- $assoc = Associations::isEnabled();
+ $assoc = Associations::isEnabled();
66
+ $option = $app->getInput()->get('option');
67
+ $associations = [];
68
- if ($assoc) {
69
+ if ($assoc && $option) {
70
if ($active) {
71
$associations = MenusHelper::getAssociations($active->id);
72
73
- $option = $app->getInput()->get('option');
74
$component = $app->bootComponent($option);
75
76
if ($component instanceof AssociationServiceInterface) {
0 commit comments