diff --git a/include/admin/templates.inc.php b/include/admin/templates.inc.php index 989007b7..d231883f 100644 --- a/include/admin/templates.inc.php +++ b/include/admin/templates.inc.php @@ -167,7 +167,7 @@ $stack = array(); serendipity_plugin_api::hook_event('backend_templates_fetchlist', $stack); $themes = serendipity_fetchTemplates(); $data['templates'] = array(); -$data['templates'][$theme] = array(); + foreach($themes AS $theme) { $stack[$theme] = serendipity_fetchTemplateInfo($theme); }