Minor - format code

pull/2999/head
Julio Montoya 6 years ago
parent 2923dab801
commit 60ebc64c26
  1. 4
      main/exercise/exercise.php
  2. 1
      main/inc/lib/SortableTableFromArrayConfig.php
  3. 1
      main/inc/lib/pear/HTML/QuickForm/select.php
  4. 1
      main/inc/lib/sortable_table.class.php

@ -613,11 +613,11 @@ if ($is_allowedToEdit) {
);
}
if (api_get_configuration_value('allow_exercise_categories') === false) {
echo Exercise::exerciseGrid(0, $keyword);
echo Exercise::exerciseGrid(0, $keyword);
} else {
if (empty($categoryId)) {
echo Display::page_subheader(get_lang('NoCategory'));
echo Exercise::exerciseGrid(0, $keyword);
echo Exercise::exerciseGrid(0, $keyword);
$counter = 0;
$manager = new ExerciseCategoryManager();
$categories = $manager->getCategories($courseId);

@ -1,7 +1,6 @@
<?php
/* For licensing terms, see /license.txt */
/**
* Sortable table which can be used for data available in an array.
*

@ -407,7 +407,6 @@ class HTML_QuickForm_select extends HTML_QuickForm_element
$strValues = is_array($this->_values)? array_map('strval', $this->_values): array();
foreach ($this->_options as $option) {
if (!empty($strValues) && in_array($option['attr']['value'], $strValues, true)) {
$option['attr']['selected'] = 'selected';
}

@ -101,7 +101,6 @@ class SortableTable extends HTML_Table
*/
public $table_data;
/**
*
* @var array Columns to hide
*/
private $columnsToHide = [];

Loading…
Cancel
Save