Display: Allow course default icon to use the one defined in the CSS theme and resize to fit courses-list size - refs PR #3345

pull/3376/head
Alex Aragón 5 years ago committed by Yannick Warnier
parent e0e6a5f592
commit 4eb0de5ce9
  1. 4
      main/inc/lib/api.lib.php

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

Loading…
Cancel
Save