mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
Fixes missing custompage values when switching to some legacy v1.x themes.
This commit is contained in:
parent
1a4b66507a
commit
4cc15882b2
@ -246,7 +246,8 @@ class e_theme
|
||||
{
|
||||
foreach ($CUSTOMPAGES as $key=>$val)
|
||||
{
|
||||
$themeArray['custompages'][$key] = explode(" ", $val);
|
||||
$themeArray['custompages'][$key] = explode(" ", trim($val));
|
||||
$lays[$key]['custompages'] = trim($val);
|
||||
}
|
||||
}
|
||||
elseif($CUSTOMPAGES)
|
||||
|
@ -142,7 +142,7 @@ class plugin_featurebox_item extends e_model
|
||||
{
|
||||
parse_str($parm, $parm);
|
||||
}
|
||||
|
||||
|
||||
$tp = e107::getParser();
|
||||
|
||||
$imageSrc = ($parm != 'placeholder') ? $this->get('fb_image') : "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user