Minor - flint fixes

pull/2864/head
Julio 7 years ago
parent 4cb8f2e1b4
commit 48fcdbb6f0
  1. 2
      main/inc/lib/elfinder/connectorAction.php
  2. 2
      plugin/surveyexportcsv/export.php

@ -25,7 +25,7 @@ if (empty($driverList)) {
if ($block && !api_is_allowed_to_edit()) {
foreach ($driverList as $driver) {
if ($driver === 'CourseDriver') {
continue;
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 {

Loading…
Cancel
Save