Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
daveewbl committed Nov 23, 2022
1 parent be3ee77 commit d5bdc1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/src/AlgoliaSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ public function __construct(\Type $type)
);
}

if ($this->client && $this->application->getParams()->get('global.config.algolia_index_' . $type->identifier)) {
if ($this->client && $this->application->getParams()->get('global.config.algolia_index_'. $type->identifier)) {
$this->index = $this->client->initIndex($this->application->getParams()->get('global.config.algolia_index_'. $type->identifier));
}

$this->loadRouterLanguageRules();
Expand Down

0 comments on commit d5bdc1d

Please sign in to comment.