From b8e60cd7eff62807a8a796306ebf1a364d2f8623 Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 20 May 2014 17:41:55 +0200 Subject: [PATCH] fixes #165 1 a --- include/admin/templates.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }