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. 2
      main/gradebook/index.php
  4. 1
      main/inc/ajax/agenda.ajax.php
  5. 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()
{ {

@ -772,7 +772,7 @@ if (!api_is_allowed_to_edit(null, true)) {
if (isset($first_time) && $first_time == 1 && api_is_allowed_to_edit(null, true)) { if (isset($first_time) && $first_time == 1 && api_is_allowed_to_edit(null, true)) {
echo '<meta http-equiv="refresh" content="0;url='.api_get_self().'?'.api_get_cidreq().'" />'; echo '<meta http-equiv="refresh" content="0;url='.api_get_self().'?'.api_get_cidreq().'" />';
} else { } else {
// Tool introduction // Tool introduction
Display::display_introduction_section( Display::display_introduction_section(
TOOL_GRADEBOOK, TOOL_GRADEBOOK,
['ToolbarSet' => 'AssessmentsIntroduction'] ['ToolbarSet' => 'AssessmentsIntroduction']

@ -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