Skip to content

Commit

Permalink
Merge pull request #22 from rootslinux/develop
Browse files Browse the repository at this point in the history
Fix user link not routing correctly for lock/unlock topic notifications
  • Loading branch information
rootslinux authored Nov 9, 2018
2 parents 2d1b914 + 7974836 commit 3297ce6
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 3297ce6

Please sign in to comment.