From c54f683e953a87d9adf0bf889be0e86affe44676 Mon Sep 17 00:00:00 2001 From: Garion Herman Date: Thu, 18 Jul 2019 14:52:45 +1200 Subject: [PATCH] FIX Make remotepath optional to restore compatibility with CWP --- src/Solr/Stores/SolrConfigStore_Post.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Solr/Stores/SolrConfigStore_Post.php b/src/Solr/Stores/SolrConfigStore_Post.php index 7d40f68..6f90b62 100644 --- a/src/Solr/Stores/SolrConfigStore_Post.php +++ b/src/Solr/Stores/SolrConfigStore_Post.php @@ -30,7 +30,10 @@ class SolrConfigStore_Post implements SolrConfigStore $options['host'] . ':' . $options['port'], $config['path'] ]); - $this->remote = $config['remotepath']; + + if (isset($config['remotepath'])) { + $this->remote = $config['remotepath']; + } } /**