mirror of
https://github.com/getgrav/grav.git
synced 2026-07-20 07:12:14 +02:00
Blueprint extend: reverse order of the multi-extend
This commit is contained in:
@@ -71,7 +71,7 @@ class Blueprints
|
||||
$extends = [ $extends ];
|
||||
}
|
||||
|
||||
foreach ($extends as $extendConfig) {
|
||||
foreach (array_reverse($extends) as $extendConfig) {
|
||||
$extendType = !is_string($extendConfig) ? empty($extendConfig['type']) ? false : $extendConfig['type'] : $extendConfig;
|
||||
|
||||
if (!$extendType) {
|
||||
|
||||
Reference in New Issue
Block a user