Skip to content

Commit

Permalink
Addressing failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersoncasimir committed Feb 12, 2025
1 parent 9f58096 commit 3828c16
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions php/libraries/Candidate.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1078,11 +1078,10 @@ class Candidate implements \LORIS\StudyEntities\AccessibleResource,
"SELECT pso.Description
FROM participant_status ps
JOIN participant_status_options pso ON (ps.participant_status=pso.ID)
JOIN candidate c ON c.ID=ps.CandidateID
WHERE c.CandID=:candid",
['candid' => $this->getCandID()],
WHERE ps.CandidateID=:candidate_id",
['candidate_id' => $this->getData('ID')],
);
return $res['Description'] ?? "Not found for CandID: {$this->getCandID()}";
return $res['Description'] ?? '';
}

/**
Expand Down

0 comments on commit 3828c16

Please sign in to comment.