mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 06:06:16 +02:00
system blueprints not getting scanned. Fixes #3296
This commit is contained in:
@@ -61,7 +61,7 @@ class Types implements \ArrayAccess, \Iterator, \Countable
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
if (null === $this->systemBlueprints) {
|
||||
if (empty($this->systemBlueprints)) {
|
||||
// Register all blueprints from the blueprints stream.
|
||||
$this->systemBlueprints = $this->findBlueprints('blueprints://pages');
|
||||
foreach ($this->systemBlueprints as $type => $blueprint) {
|
||||
|
||||
Reference in New Issue
Block a user