mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Fixes missing custompage values when switching to some legacy v1.x themes.
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user