Skip to content

Commit

Permalink
Fix Algolia check for keys
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Nov 28, 2023
1 parent d0d7929 commit ae1429d
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 @@ -25,7 +25,7 @@ public function __construct()
{
$this->options = App::instance()->option('search.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 ae1429d

Please sign in to comment.