Commit 74fe7990 authored by Steven Wittens's avatar Steven Wittens
Browse files

Fixed article/body bug

parent 34afc4bd
......@@ -82,8 +82,8 @@ function story($story, $reply = 0) {
<?php
echo "<P>". check_output($story->abstract, 1) ."</P>";
if ($reply && $story->article)
echo "<P>". check_output($story->article, 1) ."</P>";
if ($reply && $story->body)
echo "<P>". check_output($story->body, 1) ."</P>";
?>
</TD>
......
......@@ -126,8 +126,8 @@ function story($story, $reply = 0) {
<td class="lgcnt" width="100%" colspan="2"><hr color="#404040" size="1">
<?php
echo check_output($story->abstract, 1) . "<br>";
if ($reply)
echo $story->body?"<br>" . check_output($story->body, 1);
if ($reply && $story->body)
echo "<br>" . check_output($story->body, 1);
?>
<hr color="#404040" size="1"><div align="right">
<?php
......
......@@ -137,8 +137,8 @@ function story($story, $reply = 0) {
<?php
echo "<br />". check_output($story->abstract, 1) ."<br />";
if ($reply)
echo "<br />". check_output($story->article, 1) ."<br />";
if ($reply && $story->body)
echo "<br />". check_output($story->body, 1) ."<br />";
?>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment