mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix warnings in PHP 8.0 related to editor components
This commit is contained in:
parent
c5ceafc841
commit
c6f728cec6
4 changed files with 14 additions and 14 deletions
|
|
@ -272,7 +272,7 @@ class editorController extends editor
|
|||
if(!isset($xml_obj->attrs)) $xml_obj->attrs = new stdClass;
|
||||
$xml_obj->attrs->{$m[1][$i]} = $m[2][$i];
|
||||
}
|
||||
$xml_obj->body = $match[4];
|
||||
$xml_obj->body = $match[4] ?? null;
|
||||
|
||||
if(!$xml_obj->attrs->editor_component) return $match[0];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue