Permalink
Browse files

Merge branch 'MDL-58833-master' of git://github.com/andrewnicols/moodle

  • Loading branch information...
dmonllao committed May 10, 2017
2 parents a5ea94d + 89ab164 commit cb04995b30bba9db3c6a982bf430ac80cbad0450
Showing with 3 additions and 0 deletions.
  1. +3 −0 admin/tool/templatelibrary/classes/api.php
@@ -70,6 +70,9 @@ public static function list_templates($component = '', $search = '', $themename
// Look at all the templates dirs for subsystems.
$subsystems = core_component::get_core_subsystems();
foreach ($subsystems as $subsystem => $dir) {
if (empty($dir)) {
continue;
}
$dir .= '/templates';
if (is_dir($dir)) {
$dirs = mustache_template_finder::get_template_directories_for_component('core_' . $subsystem, $themename);

0 comments on commit cb04995

Please sign in to comment.