mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 15:29:57 +01:00
Merge branch 'develop' of https://github.com/getgrav/grav into 1.6
# Conflicts: # CHANGELOG.md
This commit is contained in:
@@ -176,6 +176,12 @@
|
||||
* Doctrine filecache is now namespaced with prefix to support purging
|
||||
* Register all page types into `blueprint://pages` stream
|
||||
|
||||
# v1.5.8
|
||||
## mm/dd/2019
|
||||
|
||||
1. [](#improved)
|
||||
* Improved `User` unserialize to not to break the object if serialized data is not what expected
|
||||
|
||||
# v1.5.7
|
||||
## 01/25/2019
|
||||
|
||||
|
||||
@@ -341,6 +341,10 @@ class User extends Data
|
||||
$this->gettersVariable = 'items';
|
||||
$this->nestedSeparator = '.';
|
||||
|
||||
if (null === $this->items) {
|
||||
$this->items = [];
|
||||
}
|
||||
|
||||
if (null === $this->blueprints) {
|
||||
$blueprints = new Blueprints;
|
||||
$this->blueprints = $blueprints->get('user/account');
|
||||
|
||||
Reference in New Issue
Block a user