Skip to content

Commit

Permalink
Display: Allow course default icon to use the one defined in the CSS …
Browse files Browse the repository at this point in the history
…theme and resize to fit courses-list size - refs PR #3345
  • Loading branch information
aragonc authored and ywarnier committed Jul 15, 2020
1 parent e0e6a5f commit 4eb0de5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/inc/lib/api.lib.php
Expand Up @@ -2327,10 +2327,10 @@ function api_format_course_array($course_data)
'course.png',
null,
null,
ICON_SIZE_BIG,
ICON_SIZE_LARGE,
null,
true,
false
true
);
}
$_course['course_image'] = $url_image;
Expand Down

0 comments on commit 4eb0de5

Please sign in to comment.