mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 17:56:22 +02: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
|
* Doctrine filecache is now namespaced with prefix to support purging
|
||||||
* Register all page types into `blueprint://pages` stream
|
* 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
|
# v1.5.7
|
||||||
## 01/25/2019
|
## 01/25/2019
|
||||||
|
|
||||||
|
|||||||
@@ -341,6 +341,10 @@ class User extends Data
|
|||||||
$this->gettersVariable = 'items';
|
$this->gettersVariable = 'items';
|
||||||
$this->nestedSeparator = '.';
|
$this->nestedSeparator = '.';
|
||||||
|
|
||||||
|
if (null === $this->items) {
|
||||||
|
$this->items = [];
|
||||||
|
}
|
||||||
|
|
||||||
if (null === $this->blueprints) {
|
if (null === $this->blueprints) {
|
||||||
$blueprints = new Blueprints;
|
$blueprints = new Blueprints;
|
||||||
$this->blueprints = $blueprints->get('user/account');
|
$this->blueprints = $blueprints->get('user/account');
|
||||||
|
|||||||
Reference in New Issue
Block a user