From fe2c4f7c4b592e9991034a53378952bb52f8de68 Mon Sep 17 00:00:00 2001 From: Marek Bachmann Date: Sat, 10 Dec 2022 23:47:37 +0100 Subject: [PATCH] Restored $s = $hook_data['html']; call which was removed on error --- src/Model/Item.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Model/Item.php b/src/Model/Item.php index d134ca7d6e..921d35882d 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -3090,6 +3090,8 @@ class Item 'filter_reasons' => $filter_reasons ]; Hook::callAll('prepare_body', $hook_data); + $s = $hook_data['html']; + unset($hook_data); if (!$attach) {