From dc8f2c1466849572a10fb91312f12759d50327e5 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Mon, 4 Jan 2016 15:18:50 +0200 Subject: [PATCH] Fixed page blueprints and theme inheritance issue (#534) --- system/src/Grav/Common/Page/Types.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Page/Types.php b/system/src/Grav/Common/Page/Types.php index 6ef119140..5fbeaea5e 100644 --- a/system/src/Grav/Common/Page/Types.php +++ b/system/src/Grav/Common/Page/Types.php @@ -103,8 +103,11 @@ class Types implements \ArrayAccess, \Iterator, \Countable 'value' => 'PathName', ]; + $list = []; foreach ((array) $paths as $path) { - return Folder::all($path, $options); + $list += Folder::all($path, $options); } + + return $list; } }