Browse Source

Merge branch '1.11.x' of github.com:chamilo/chamilo-lms into 1.11.x

Angel Fernando Quiroz Campos 7 years ago
parent
commit
3e137e9fe4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      main/auth/courses_categories.php

+ 3 - 3
main/auth/courses_categories.php

@@ -357,14 +357,14 @@ function return_title($course, $registeredUser)
 {
     $html = '';
     $linkCourse = api_get_course_url($course['code']);
-    $title = cut($course['title'], 60);
+    $cutTitle = cut($course['title'], 60);
 
     $html .= '<div class="block-title"><h4 class="title">';
 
     if (!$registeredUser) {
-        $html .= $title;
+        $html .= $cutTitle;
     } else {
-        $html .= '<a title="'.$title.'" href="'.$linkCourse.'">'.$title.'</a>';
+        $html .= '<a title="'.$course['title'].'" href="'.$linkCourse.'">'.$cutTitle.'</a>';
     }
 
     $html .= '</h4></div>';