diff --git a/misc/www/forum/ext/ernadoo/qte/event/main_listener.php b/misc/www/forum/ext/ernadoo/qte/event/main_listener.php index a6f9f4fbb2..284782861a 100644 --- a/misc/www/forum/ext/ernadoo/qte/event/main_listener.php +++ b/misc/www/forum/ext/ernadoo/qte/event/main_listener.php @@ -109,7 +109,9 @@ class main_listener implements EventSubscriberInterface { $topic_attribute = $this->request->variable('attr_id', !empty($event['post_data']['topic_attr_id']) ? \ernadoo\qte\qte::KEEP : 0, false, \phpbb\request\request_interface::POST); - $this->qte->attr_select($event['forum_id'], !empty($event['post_data']['topic_attr_user']) ? $event['post_data']['topic_attr_user'] : 0, (int) $topic_attribute, '', $event['mode']); +# old line $this->qte->attr_select($event['forum_id'], !empty($event['post_data']['topic_attr_user']) ? $event['post_data']['topic_attr_user'] : 0, (int) $topic_attribute, '', $event['mode']); +# custom version see https://github.com/rusefi/rusefi/issues/556 + $this->qte->attr_select($event['forum_id'], !empty($event['post_data']['topic_poster']) ? $event['post_data']['topic_poster'] : 0, (int) $topic_attribute, '', $event['mode']); if ($event['mode'] != 'post') {