Fix image path

1.10.x
jmontoya 9 years ago
parent c1f149e927
commit ed12ba1500
  1. 3
      main/template/default/auth/courses_categories.php

@ -298,7 +298,8 @@ function return_thumbnail($course, $icon_title)
if (file_exists($course_path.'/course-pic.png')) {
$course_medium_image = api_get_path(WEB_COURSE_PATH).$course['directory'].'/course-pic.png'; // redimensioned image 85x85
} else {
$course_medium_image = api_get_path(WEB_IMG_PATH).'session_default.png'; // without picture
// without picture
$course_medium_image = Display::return_icon('session_default.png', null, null, null, null, true, false);
}
// course image

Loading…
Cancel
Save