mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-77657 theme: Fix get_pre_scss_code load order
This led to problems with grandchild themes, depending on their direct parent's prescsscallback.
This commit is contained in:
parent
862e1e10c2
commit
92ee1c561e
@ -1626,7 +1626,7 @@ class theme_config {
|
||||
|
||||
// Getting all the candidate functions.
|
||||
$candidates = array();
|
||||
foreach ($this->parent_configs as $parent_config) {
|
||||
foreach (array_reverse($this->parent_configs) as $parent_config) {
|
||||
if (!isset($parent_config->prescsscallback)) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user