Merge branch '1.11.x_contidos-dixitias-2024-clickable-course-name-on-categories' of https://github.com/contidos-dixitais/chamilo-lms into 5048

pull/5867/head
Yannick Warnier 11 months ago
commit 05ced4d2ba
  1. 3
      main/inc/ajax/course_category.ajax.php

@ -31,7 +31,8 @@ switch ($action) {
$result = '';
foreach ($courses as $course) {
$row++;
$table->setCellContents($row, 0, $course['title']);
$courseLink = '<a href="'.api_get_path(WEB_PATH).'courses/'.$course['code'].'/index.php">'.$course['title'].'</a>';
$table->setCellContents($row, 0, $courseLink);
}
echo $table->toHtml();

Loading…
Cancel
Save