From 19f1833e9a56d3055c2c352aabdfe31872c6f5a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Tue, 17 Nov 2020 11:52:36 +0100 Subject: [PATCH] Update CreateBlogMetaOnDiscussionCreate.php fixes an exception people have --- src/Listeners/CreateBlogMetaOnDiscussionCreate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Listeners/CreateBlogMetaOnDiscussionCreate.php b/src/Listeners/CreateBlogMetaOnDiscussionCreate.php index afc1f9b..5c7f4a3 100644 --- a/src/Listeners/CreateBlogMetaOnDiscussionCreate.php +++ b/src/Listeners/CreateBlogMetaOnDiscussionCreate.php @@ -20,7 +20,7 @@ public function __construct(SettingsRepositoryInterface $settings) { // Get Flarum settings $this->settings = $settings; - $this->blogTags = explode("|", $this->settings->get('blog_tags', [])); + $this->blogTags = explode("|", $this->settings->get('blog_tags', '')); } /**