Skip to content

Commit

Permalink
Merge pull request #7888 from jdarwood007/FixSearch
Browse files Browse the repository at this point in the history
Ensure member id is a int
  • Loading branch information
Sesquipedalian authored Nov 25, 2023
2 parents be40b43 + 27788bd commit 78e61cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Search/SearchResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,11 @@ public static function get($ids, array $query_customizations = [])
'first_m.subject AS first_subject',
'first_m.icon AS first_icon',
'first_m.poster_time AS first_poster_time',
'first_mem.id_member AS first_member_id',
'COALESCE(first_mem.id_member, 0) AS first_member_id',
'COALESCE(first_mem.real_name, first_m.poster_name) AS first_member_name',
'last_m.id_msg AS last_msg',
'last_m.poster_time AS last_poster_time',
'last_mem.id_member AS last_member_id',
'COALESCE(last_mem.id_member, 0) AS last_member_id',
'COALESCE(last_mem.real_name, last_m.poster_name) AS last_member_name',
'last_m.icon AS last_icon',
'last_m.subject AS last_subject',
Expand Down

0 comments on commit 78e61cf

Please sign in to comment.