Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
remotes/angel/1.11.x
Scrutinizer Auto-Fixer 8 years ago
parent 5fa816b1ad
commit 9a9f1ff203
  1. 2
      main/inc/lib/course.lib.php
  2. 2
      main/lp/learnpath.class.php

@ -4868,7 +4868,7 @@ class CourseManager
}
if ($access_link && in_array('enter',$access_link) ||
if ($access_link && in_array('enter', $access_link) ||
$course_info['visibility'] == COURSE_VISIBILITY_OPEN_WORLD
) {
$my_course['go_to_course_button'] = Display::url(

@ -1426,7 +1426,7 @@ class learnpath
// Update the current item with the new data.
$sql = "UPDATE $tbl_lp_item
SET
title = '" . Database::escape_string($title)."',
title = '".Database::escape_string($title)."',
description = '" . Database::escape_string($description)."',
parent_item_id = " . $parent.",
previous_item_id = " . $previous.",

Loading…
Cancel
Save