Skip to content

Commit

Permalink
Fix null condition values
Browse files Browse the repository at this point in the history
  • Loading branch information
milsen committed Feb 28, 2020
1 parent 7baa20f commit 8b6a6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConditionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function getValuesByConditionID($conditionId, $userId)

$values = [];
while ($row = $stmt->fetch(\PDO::FETCH_NUM, \PDO::FETCH_ORI_NEXT)) {
array_push($values, $row[0]);
array_push($values, strval($row[0]));
}
// There might be multiple values, e.g. one student may be part of
// multiple institutes.
Expand Down

0 comments on commit 8b6a6fe

Please sign in to comment.