Skip to content

Commit

Permalink
#8700 Fixed typo
Browse files Browse the repository at this point in the history
(cherry picked from commit 86bb061)
  • Loading branch information
jonasraoni committed Jun 4, 2024
1 parent 44d7fd2 commit 9535d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/reviewForm/ReviewFormElementDAO.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public function getByReviewFormId($reviewFormId, $rangeInfo = null, $included =
{
$q = DB::table('review_form_elements', 'rfe')
->where('rfe.review_form_id', '=', $reviewFormId)
->where($included !== null, fn (Builder $q) => $q->where('rfe.included', '=', $included))
->when($included !== null, fn (Builder $q) => $q->where('rfe.included', '=', $included))
->select('rfe.*')
->orderBy('rfe.seq');
$result = $this->retrieveRange($q, [], $rangeInfo);
Expand Down

0 comments on commit 9535d2c

Please sign in to comment.