X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/4fa1d9c17950b2f436a42c3dd1ad158506c6501e..v4.5-23-gb9757db578:/mail/index.php diff --git a/mail/index.php b/mail/index.php index 8fb49c7..908e531 100644 --- a/mail/index.php +++ b/mail/index.php @@ -49,6 +49,9 @@ if ($msgid) { return; } +if (!$User) { + return; +} if (!$User->admin('user')) { http_response_code(403); $Page->place['warn'] = "Geen gebruikersrechten om e-mails in te zien.";