From 7974836818201dc8f6578e7fc645ccd796b383f6 Mon Sep 17 00:00:00 2001 From: Tyler Olsen Date: Thu, 8 Nov 2018 18:37:11 -0600 Subject: [PATCH] Fix user link not routing correctly for lock/unlock topic notifications --- event/notification_event_listener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/notification_event_listener.php b/event/notification_event_listener.php index eb0e564..d48085f 100644 --- a/event/notification_event_listener.php +++ b/event/notification_event_listener.php @@ -295,7 +295,7 @@ public function handle_lock_action($event) // Two sets of user data captured: one for the post (if applicable) and one for the user that started the topic $lock_data['post_user_id'] = $event['data'][$id]['poster_id']; $lock_data['post_user_name'] = $event['data'][$id]['username']; - $lock_data['topic_user_id'] = $event['data'][$id]['topic_first_poster_id']; + $lock_data['topic_user_id'] = $event['data'][$id]['topic_poster']; $lock_data['topic_user_name'] = $event['data'][$id]['topic_first_poster_name']; // If the forum the post was made in does not have notifications enabled or the topic/poar is not visible, do nothing more.