From 8ec064ad406b35af7bf0dd0df500bb08bb92f6c4 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 3 Jan 2017 07:48:52 -0800 Subject: [PATCH] Theme config fix. --- e107_handlers/theme_handler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php index 19be6bff2..c06173343 100644 --- a/e107_handlers/theme_handler.php +++ b/e107_handlers/theme_handler.php @@ -1010,7 +1010,7 @@ class themeHandler $this->loadThemeConfig(); - $value = e107::getThemeConfig('landingzero')->getPref(); + $value = e107::getThemeConfig($this->id)->getPref(); if($this->themeConfigObj) { @@ -1026,7 +1026,7 @@ class themeHandler } else { - if(!empty($v['multilan']) && isset($value[$field][e_LANGUAGE])) + if(!empty($val['multilan']) && isset($value[$field][e_LANGUAGE])) { $value[$field] = varset($value[$field][e_LANGUAGE],''); }