Skip to content

Commit

Permalink
Merge branch 'main' of github.com:getkirby/getkirby.com
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Nov 28, 2023
2 parents 06297c6 + ae1429d commit 2e85537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/plugins/search/src/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct()
$this->options = App::instance()->option('search.algolia', []);
$this->options['key'] = App::instance()->option('keys.algolia');

if (isset($this->options['app'], $this->options['key']) === false) {
if (isset($this->options['app']) === false) {
throw new Exception('Please set your Algolia API credentials in the Kirby configuration.');
}

Expand Down

0 comments on commit 2e85537

Please sign in to comment.