From c3f986b77cafe989808f50c1e17299c3002fffd6 Mon Sep 17 00:00:00 2001 From: Moc Date: Fri, 13 Jun 2014 12:02:54 +0200 Subject: [PATCH] #515 - Custom theme config now shows all the fields --- e107_handlers/theme_handler.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php index 1e96fcff6..5346702fc 100644 --- a/e107_handlers/theme_handler.php +++ b/e107_handlers/theme_handler.php @@ -943,7 +943,6 @@ class themeHandler { $mes = e107::getMessage(); - $mes->addDebug("Rendering Theme Config"); $this->loadThemeConfig(); @@ -951,10 +950,13 @@ class themeHandler if($this->themeConfigObj) { $var = call_user_func(array(&$this->themeConfigObj, 'config')); + vartrue($text); // avoid notice + foreach ($var as $val) { - $text = "".$val['caption'].":".$val['html'].""; + $text .= "".$val['caption'].":".$val['html'].""; } + return $text; }