Browse Source

Fix custom plugin icons in course when they are disabled on course home page - refs #8219

Angel Fernando Quiroz Campos 8 years ago
parent
commit
8a941852da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/course_home.lib.php

+ 1 - 1
main/inc/lib/course_home.lib.php

@@ -858,7 +858,7 @@ class CourseHome
                     }
 
                     if (!file_exists(api_get_path(SYS_CODE_PATH).'img/'.$tool['image']) &&
-                        !file_exists(api_get_path(SYS_CODE_PATH).'img/icons/22/'.$tool['image'])) {
+                        !file_exists(api_get_path(SYS_CODE_PATH).'img/icons/64/'.$tool['image'])) {
                         $tool['image'] = 'plugins.png';
                     }
                     $tool_link_params['href'] = api_get_path(WEB_PLUGIN_PATH).$tool['original_link'].'?'.api_get_cidreq();