Fix various warnings in PHP 8.0

This commit is contained in:
Kijin Sung 2021-01-08 00:27:00 +09:00
parent db6f44a913
commit 4dcdb9e4bd
5 changed files with 10 additions and 5 deletions

View file

@ -262,7 +262,7 @@ class editorModel extends editor
Context::set('files_count', (int)$files_count);
// Check an option whether to start the editor manually.
Context::set('editor_manual_start', $option->manual_start);
Context::set('editor_manual_start', $option->manual_start ?? null);
// Compile and return the editor skin template.
$tpl_path = Context::get('editor_path');