1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 04:40:44 +02: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)