Minor - format code

pull/3565/head^2
Julio Montoya 5 years ago
parent 0ca1ec7118
commit fb9cc740b9
  1. 2
      main/mySpace/session_filter.php
  2. 1
      main/survey/fillsurvey.php
  3. 5
      main/ticket/new_ticket.php

@ -268,7 +268,6 @@ if ($form->validate()) {
$extraFields[] = $fieldValue; $extraFields[] = $fieldValue;
} }
//foreach ($filterCheckList as $fieldId => $field) {
$list = GradebookUtils::get_list_gradebook_certificates_by_user_id($value['user_id'], $categoryId); $list = GradebookUtils::get_list_gradebook_certificates_by_user_id($value['user_id'], $categoryId);
foreach ($list as $valueCertificate) { foreach ($list as $valueCertificate) {
$item = []; $item = [];
@ -281,7 +280,6 @@ if ($form->validate()) {
$item = array_merge($item, $extraFields); $item = array_merge($item, $extraFields);
$dataToExport[] = $item; $dataToExport[] = $item;
} }
//}
} }
Export::arrayToCsv($dataToExport, 'export'); Export::arrayToCsv($dataToExport, 'export');
} }

@ -3,6 +3,7 @@
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
use ChamiloSession as Session; use ChamiloSession as Session;
$lastQuestion = 0; $lastQuestion = 0;
/** /**

@ -1,9 +1,7 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
/**
* @package chamilo.ticket
*/
require_once __DIR__.'/../inc/global.inc.php'; require_once __DIR__.'/../inc/global.inc.php';
if (!api_is_platform_admin() && api_get_setting('ticket_allow_student_add') !== 'true') { if (!api_is_platform_admin() && api_get_setting('ticket_allow_student_add') !== 'true') {
@ -95,7 +93,6 @@ function updateLpList(courseId, sessionId) {
text: lp.text text: lp.text
}).appendTo($selectLp); }).appendTo($selectLp);
}); });
$selectLp.find("option[value=\'' . $lpId . '\']").attr("selected",true); $selectLp.find("option[value=\'' . $lpId . '\']").attr("selected",true);
} }

Loading…
Cancel
Save