Restored $s = $hook_data['html']; call which was removed on error

This commit is contained in:
Marek Bachmann 2022-12-10 23:47:37 +01:00
parent 412ba461e7
commit fe2c4f7c4b

View File

@ -3090,6 +3090,8 @@ class Item
'filter_reasons' => $filter_reasons 'filter_reasons' => $filter_reasons
]; ];
Hook::callAll('prepare_body', $hook_data); Hook::callAll('prepare_body', $hook_data);
$s = $hook_data['html'];
unset($hook_data); unset($hook_data);
if (!$attach) { if (!$attach) {