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

Fixes missing custompage values when switching to some legacy v1.x themes.

This commit is contained in:
Cameron 2017-01-26 18:46:10 -08:00
parent 1a4b66507a
commit 4cc15882b2
2 changed files with 3 additions and 2 deletions

View File

@ -246,7 +246,8 @@ class e_theme
{ {
foreach ($CUSTOMPAGES as $key=>$val) foreach ($CUSTOMPAGES as $key=>$val)
{ {
$themeArray['custompages'][$key] = explode(" ", $val); $themeArray['custompages'][$key] = explode(" ", trim($val));
$lays[$key]['custompages'] = trim($val);
} }
} }
elseif($CUSTOMPAGES) elseif($CUSTOMPAGES)

View File

@ -142,7 +142,7 @@ class plugin_featurebox_item extends e_model
{ {
parse_str($parm, $parm); parse_str($parm, $parm);
} }
$tp = e107::getParser(); $tp = e107::getParser();
$imageSrc = ($parm != 'placeholder') ? $this->get('fb_image') : ""; $imageSrc = ($parm != 'placeholder') ? $this->get('fb_image') : "";