Skip to content

Commit

Permalink
Update RedactorConfig.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter authored Jul 15, 2021
1 parent f856cf1 commit 76ca2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RedactorConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function getPlugins(): array

$this->plugins = $this->getDefaultPlugins();

if (is_array($extension->getConfig()['plugins'])) {
if (isset($extension->getConfig()['plugins']) && is_array($extension->getConfig()['plugins'])) {
$this->plugins = array_replace_recursive($this->plugins, $extension->getConfig()['plugins']);
}

Expand Down

0 comments on commit 76ca2a1

Please sign in to comment.