Skip to content

Commit

Permalink
Search: 38092 cast db result for user id to int during result entry c…
Browse files Browse the repository at this point in the history
…reation
  • Loading branch information
shecken committed Oct 16, 2023
1 parent b2db142 commit ae1b0b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function performSearch(): ilSearchResult

$res = $this->db->query($query);
while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
$this->search_result->addEntry($row->user_id, 'user', $this->__prepareFound($row));
$this->search_result->addEntry((int) $row->user_id, 'user', $this->__prepareFound($row));
}
return $this->search_result;
}
Expand Down

0 comments on commit ae1b0b9

Please sign in to comment.