X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/4fa1d9c17950b2f436a42c3dd1ad158506c6501e..b9757db57858fdcff8af1a6566e299559e491b17:/issue/index.php diff --git a/issue/index.php b/issue/index.php index 8c58f41..e8a36d2 100644 --- a/issue/index.php +++ b/issue/index.php @@ -15,6 +15,7 @@ if ($id and ctype_digit($id)) { $Page->title .= ': '.htmlspecialchars($Issue->subject); $Page->teaser = $Issue->body; + if (!$User) return; $Page->body = $replies; # find image print "

{$Page->title}

\n"; @@ -40,6 +41,7 @@ if ($id and ctype_digit($id)) { print "\n"; return; } +elseif (!$User) return; if ($_POST) { require_once 'upload.inc.php';