X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/4fa1d9c17950b2f436a42c3dd1ad158506c6501e..v4.5-23-gb9757db578:/nieuws/index.php diff --git a/nieuws/index.php b/nieuws/index.php index 61ba993..59b24a4 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -2,6 +2,8 @@ $replyform = $Page->handler == 'melding' && $User->login; @list ($year, $page) = explode('/', trim($Page->path, '/')); +if (!$User) return; + if ($User->admin("edit {$Page->handler}")) { $Page->raw = ''."\n" . $Page->raw; }