diff --git a/main/inc/lib/elfinder/connectorAction.php b/main/inc/lib/elfinder/connectorAction.php index a32e5a205c..ec11b0192f 100644 --- a/main/inc/lib/elfinder/connectorAction.php +++ b/main/inc/lib/elfinder/connectorAction.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; } diff --git a/plugin/surveyexportcsv/export.php b/plugin/surveyexportcsv/export.php index e04a848eb2..c961e51bd6 100644 --- a/plugin/surveyexportcsv/export.php +++ b/plugin/surveyexportcsv/export.php @@ -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 {