mirror of
https://github.com/humhub/humhub.git
synced 2025-01-29 12:28:06 +01:00
Fix missed data on RichText post process event (#5618)
This commit is contained in:
parent
1ac9efd09d
commit
cf0bdc9666
@ -238,7 +238,7 @@ abstract class AbstractRichText extends JsWidget
|
||||
$record->updateAttributes([$attribute => $text]);
|
||||
}
|
||||
|
||||
$evt = new Event(['result' => ['text' => $text, 'record' => $record, 'attribute' => $attribute]]);
|
||||
$evt = new Event(['result' => array_merge($result, ['text' => $text, 'record' => $record, 'attribute' => $attribute])]);
|
||||
Event::trigger(static::class, static::EVENT_POST_PROCESS, $evt);
|
||||
|
||||
return $evt->result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user