diff --git a/src/ConditionHandler.php b/src/ConditionHandler.php index 46d5e294..130d8ec2 100644 --- a/src/ConditionHandler.php +++ b/src/ConditionHandler.php @@ -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.