Minor - flint fixes

pull/2789/head
Julio Montoya 7 years ago
parent 4bd457da22
commit cb93161363
  1. 1
      main/auth/courses_categories.php
  2. 1
      main/auth/courses_controller.php
  3. 1
      main/inc/ajax/agenda.ajax.php
  4. 2
      src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php

@ -8,7 +8,6 @@
* *
* @package chamilo.auth * @package chamilo.auth
*/ */
if (isset($_REQUEST['action']) && Security::remove_XSS($_REQUEST['action']) !== 'subscribe') { if (isset($_REQUEST['action']) && Security::remove_XSS($_REQUEST['action']) !== 'subscribe') {
$stok = Security::get_token(); $stok = Security::get_token();
} else { } else {

@ -58,7 +58,6 @@ class CoursesController
/** /**
* It's used for listing categories, render to categories_list view. * It's used for listing categories, render to categories_list view.
*
*/ */
public function categoryList() public function categoryList()
{ {

@ -4,7 +4,6 @@
/** /**
* Responses to AJAX calls. * Responses to AJAX calls.
*/ */
$type = isset($_REQUEST['type']) && in_array($_REQUEST['type'], ['personal', 'course', 'admin']) ? $_REQUEST['type'] : 'personal'; $type = isset($_REQUEST['type']) && in_array($_REQUEST['type'], ['personal', 'course', 'admin']) ? $_REQUEST['type'] : 'personal';
if ($type == 'personal') { if ($type == 'personal') {

@ -34,6 +34,7 @@ class CkEditor extends Editor
/** /**
* Return the HTML code required to run editor. * Return the HTML code required to run editor.
*
* @param string $value * @param string $value
* *
* @return string * @return string
@ -54,7 +55,6 @@ class CkEditor extends Editor
* @param string $value * @param string $value
* *
* @return string * @return string
*
*/ */
public function createHtmlStyle($value) public function createHtmlStyle($value)
{ {

Loading…
Cancel
Save