Merge pull request #3864 from nosolored/1.11.x_fix_theme

Corrección al aplicar un tema a un curso específico
pull/3865/head
Angel Fernando Quiroz Campos 5 years ago committed by GitHub
commit 5e374f59a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      main/inc/lib/api.lib.php

@ -5278,7 +5278,7 @@ function api_get_visual_theme()
$course_id = api_get_course_id();
if (!empty($course_id)) {
if ($courseThemeAvailable) {
$course_theme = api_get_course_setting('course_theme', api_get_course_info());
$course_theme = api_get_course_setting('course_theme', api_get_course_info($course_id));
if (!empty($course_theme) && $course_theme != -1) {
if (!empty($course_theme)) {

Loading…
Cancel
Save