Skip to content

Commit

Permalink
finessed previous commit for case reviews published under own name
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketMan committed Oct 12, 2023
1 parent 7292008 commit ff4f3af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/impl/Review.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ public function getActiveReviewers($viewAll = 0, $loggedIn = 0) {
$query .= "WHERE u.name = r.user AND r.airname IS NULL ";
if(!$viewAll)
$query .= "AND ADDDATE(r.created, 12*7) > NOW() ";
if(!$loggedIn)
$query .= "AND r.private = 0 ";
$query .= "GROUP BY u.name";

$stmt = $this->prepare($query);
Expand Down

0 comments on commit ff4f3af

Please sign in to comment.