From 3e97ecab684f2685ea95f9a847010c8b2132b42c Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Wed, 13 Feb 2019 13:17:21 -0700 Subject: [PATCH] Fixes issue with uninitialized users object --- bin/gpm | 1 + bin/plugin | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/gpm b/bin/gpm index d17d73428..7ad1e4ac5 100755 --- a/bin/gpm +++ b/bin/gpm @@ -55,6 +55,7 @@ $grav->setup($environment); $grav['config']->init(); $grav['uri']->init(); +$grav['users']; $app = new Application('Grav Package Manager', GRAV_VERSION); $app->addCommands(array( diff --git a/bin/plugin b/bin/plugin index f1fb775c7..717ec96d2 100755 --- a/bin/plugin +++ b/bin/plugin @@ -56,6 +56,7 @@ $grav['config']->init(); $grav['uri']->init(); $grav['plugins']->init(); $grav['themes']->init(); +$grav['users']; $app = new Application('Grav Plugins Commands', GRAV_VERSION);