Skip to content

Commit

Permalink
Fixed: the configuration cannot be null
Browse files Browse the repository at this point in the history
  • Loading branch information
codingyu committed Mar 4, 2019
1 parent 241fc25 commit c5a0d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function render()
{
$name = $this->formatName($this->column);

$config = Ueditor::config('config');
$config = Ueditor::config('config') ?? [];

$config = json_encode(array_merge($config, $this->options));

Expand Down

0 comments on commit c5a0d77

Please sign in to comment.