Skip to content

Commit

Permalink
Update CreateBlogMetaOnDiscussionCreate.php
Browse files Browse the repository at this point in the history
fixes an exception people have
  • Loading branch information
luceos authored Nov 17, 2020
1 parent fed6578 commit 19f1833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listeners/CreateBlogMetaOnDiscussionCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', ''));
}

/**
Expand Down

0 comments on commit 19f1833

Please sign in to comment.