majgetgrav

This commit is contained in:
2019-02-08 15:32:14 +01:00
parent a56ee3dd7a
commit bf69c0fe46
4 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -946,7 +946,7 @@ class Pages
$this->grav['debugger']->addMessage('Page cache missed, rebuilding pages..');
// recurse pages and cache result
$this->resetPages($pages_dir, $this->pages_cache_id);
$this->resetPages($pages_dir);
} else {
// If pages was found in cache, set the taxonomy
+4
View File
@@ -306,6 +306,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');