Skip to content

Commit

Permalink
! moved to top of function
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuds committed Apr 29, 2024
1 parent 61ad7a2 commit 8e3750d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/subs/Mentions.subs.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ function markNotificationsRead($messages)
[
'status' => 0,
'member' => User::$info->id,
'targets' => is_array($messages) ? $messages : [$messages],
'targets' => $messages,
'mention_types' => $mentionTypes,
]
)->fetch_callback(
Expand Down

0 comments on commit 8e3750d

Please sign in to comment.