Fixed page.collection() returning array and not Collection object when header variable did not exist

This commit is contained in:
Matias Griese 2017-01-18 10:42:13 +02:00
parent 4e283322ea
commit e2ee02a71d
No known key found for this signature in database
GPG Key ID: 7C994406D898968A
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
# v1.1.14
## XX/XX/2017
1. [](#bugfix)
* Fixed `page.collection()` returning array and not Collection object when header variable did not exist
# v1.1.13
## 01/17/2017

View File

@ -2288,7 +2288,7 @@ class Page
}
if (!isset($params['items'])) {
return [];
return new Collection();
}
$collection = $this->evaluate($params['items']);