@ -25,7 +25,7 @@ if (empty($driverList)) {
if ($block && !api_is_allowed_to_edit()) {
foreach ($driverList as $driver) {
if ($driver === 'CourseDriver') {
continue;
}
$newDriverList[] = $driver;
@ -191,7 +191,7 @@ function otherRow($questions, $user, $courseId)
if ('open' === $question['type']) {
$answer = getOpenAnswer($question['question_id'], $question['survey_id'], $courseId, $user);
if ($answer){
if ($answer) {
$row[] = Security::remove_XSS($answer->getOptionId());
} else {