소스 검색

Fixes welcome message in history

Julio Montoya 12 년 전
부모
커밋
0735ff70fd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      user_portal.php

+ 1 - 1
user_portal.php

@@ -156,7 +156,7 @@ $user_id = api_get_user_id();
 $courses_and_sessions = $controller->return_courses_and_sessions($user_id);
 
 //Show the chamilo mascot
-if (empty($courses_and_sessions)) {      
+if (empty($courses_and_sessions) && !isset($_GET['history'])) {
     $controller->tpl->assign('welcome_to_course_block', $controller->return_welcome_to_course_block());
 }