X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/b9757db57858fdcff8af1a6566e299559e491b17..83209975037c6fadba1fd0555e37e95c17fe6099:/issue/index.php diff --git a/issue/index.php b/issue/index.php index e8a36d2..0c18142 100644 --- a/issue/index.php +++ b/issue/index.php @@ -1,11 +1,11 @@ path, '/')); if ($id and ctype_digit($id)) { $Page->title = "Issue #$id"; - $Page->path = "/$id"; # minimal reference + $Page->link = $Page->handler . ($Page->path = "/$id"); # minimal reference $Issue = $Db->query( 'SELECT * FROM issues WHERE page = ? AND id = ?', [$Page->handler, $id] )->fetch(); @@ -15,8 +15,8 @@ if ($id and ctype_digit($id)) { $Page->title .= ': '.htmlspecialchars($Issue->subject); $Page->teaser = $Issue->body; - if (!$User) return; $Page->body = $replies; # find image + if ($Page->api) return; print "

{$Page->title}

\n"; print '