X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/ce951ad9579fd96a7ba185f6d7cbd99bd37b9ec4..v3.9-8-g882347cba8:/login/index.php diff --git a/login/index.php b/login/index.php index c7d705d..9ebc4cb 100644 --- a/login/index.php +++ b/login/index.php @@ -61,7 +61,7 @@ if (isset($_REQUEST['goto'])) { exit; } -if (empty($Args) and !empty($User['admin'])) { +if (empty($Args) and $User and $User->admin) { include_once 'login/admin.html'; }