瀏覽代碼

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

Angel Fernando Quiroz Campos 8 年之前
父節點
當前提交
8a941852da
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();