Skip to content

Commit

Permalink
Skip self-evaluation on My Suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
cpeel committed Apr 9, 2024
1 parent 947043e commit 3462780
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/proofers/my_suggestions.php
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,11 @@ function get_suggestions($round_view, $username, $selection_criteria)
// fields used here, and in dependent functions, be populated in the row.
$project = new Project($project_row);

// pgdp-production: skip self-evaluation projects
if (stripos($project->nameofwork, "self-evaluation") !== false) {
continue;
}

try {
$round = Rounds::get_by_project_state($project->state);
validate_user_against_project_reserve($user, $project, $round);
Expand Down

0 comments on commit 3462780

Please sign in to comment.