Skip to content

Commit

Permalink
Fix user link not routing correctly for lock/unlock topic notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Olsen committed Nov 9, 2018
1 parent 507bb91 commit 7974836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event/notification_event_listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7974836

Please sign in to comment.