issue: include reply image in api metadata
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 16 Sep 2021 07:15:34 +0000 (09:15 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 22 Sep 2021 15:00:21 +0000 (17:00 +0200)
issue/index.php

index 704a405e879bf42b40d9d40c89acec27874ce816..0c18142f06e71c709e997e76514212ebeb1c3c8e 100644 (file)
@@ -15,8 +15,8 @@ if ($id and ctype_digit($id)) {
 
        $Page->title .= ': '.htmlspecialchars($Issue->subject);
        $Page->teaser = $Issue->body;
-       if ($Page->api) return;
        $Page->body = $replies;  # find image
+       if ($Page->api) return;
 
        print "<h2>{$Page->title}</h2>\n";
        print '<aside class="metadata"><dl>'."\n";