Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #13365: custom.css never gets loaded
Fixed issue: some options not loaded on uninheriting the parent theme
- Loading branch information
Showing
5 changed files
with
508 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -632,7 +632,7 @@ public function getOptionPage() | |
$oTemplate->setOptions(); | ||
$oTemplate->setOptionInheritance(); | ||
|
||
$renderArray['oParentOptions'] = (array) $oTemplate->oOptions; | ||
$renderArray['oParentOptions'] = array_merge(((array) $oTemplate->oOptions), array('packages_to_load' => json_encode($oTemplate->packages_to_load), 'files_css' => json_encode($oTemplate->files_css))); | ||
|
||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
lacrioque
Author
Contributor
|
||
return Yii::app()->twigRenderer->renderOptionPage($oTemplate, $renderArray); | ||
} | ||
|
Oops, something went wrong.
but... this is not needed in options?