1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Theme config fix.

This commit is contained in:
Cameron 2017-01-03 07:48:52 -08:00
parent 9dd717cba8
commit 8ec064ad40

View File

@ -1010,7 +1010,7 @@ class themeHandler
$this->loadThemeConfig(); $this->loadThemeConfig();
$value = e107::getThemeConfig('landingzero')->getPref(); $value = e107::getThemeConfig($this->id)->getPref();
if($this->themeConfigObj) if($this->themeConfigObj)
{ {
@ -1026,7 +1026,7 @@ class themeHandler
} }
else 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],''); $value[$field] = varset($value[$field][e_LANGUAGE],'');
} }