From ca12f33f5e32c030b8bd58dcba26d8f7e734f16a Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Wed, 6 Mar 2024 10:31:47 -0800 Subject: [PATCH] Fix for compatibility issue with quick edit extension Signed-off-by: Matt Friedman --- event/listener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/listener.php b/event/listener.php index e4f3e47..3c40b5b 100644 --- a/event/listener.php +++ b/event/listener.php @@ -162,7 +162,7 @@ protected function get_selected_prefix($event) $prefix_id = $this->request->variable('topic_prefix', 0); // If we are in preview mode, send back the prefix from the form - if (!empty($event['preview'])) + if (!empty($event['preview']) && $event['mode'] !== 'edit') { return $prefix_id; }