issue: include reply image in api metadata
[minimedit.git] / 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";