From ae1429d925e8f32ef578abe1d43c269b9a75f16c Mon Sep 17 00:00:00 2001 From: Nico Hoffmann Date: Tue, 28 Nov 2023 18:21:23 +0800 Subject: [PATCH] Fix Algolia check for keys --- site/plugins/search/src/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/plugins/search/src/Search.php b/site/plugins/search/src/Search.php index 33c46d8454..b6b58c85f4 100644 --- a/site/plugins/search/src/Search.php +++ b/site/plugins/search/src/Search.php @@ -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.'); }