Commit 025dcfb4 authored by Steven Wittens's avatar Steven Wittens
Browse files

Fixed bug with $story->body

parent e6886e28
......@@ -125,9 +125,9 @@ function story($story, $reply = 0) {
<td class="lgl"><img src="themes/goofy/images/null.gif" alt=""></td>
<td class="lgcnt" width="100%" colspan="2"><hr color="#404040" size="1">
<?php
echo check_output($story->abstract, 1) ."<br><br>";
echo check_output($story->abstract, 1) . "<br>";
if ($reply)
echo $story->article?check_output($story->article, 1):"";
echo $story->body?"<br>" . check_output($story->body, 1);
?>
<hr color="#404040" size="1"><div align="right">
<?php
......@@ -145,13 +145,6 @@ function story($story, $reply = 0) {
</tr>
</table><br>
<?php
/*
if (!$reply)
echo theme_morelink($this, $story);
else
echo $reply;
*/
} // close story function
function controls() {
......
......@@ -104,7 +104,7 @@ function story($story, $reply = 0) {
<?php
echo "<P>". check_output($story->abstract, 1) ."</P>";
if ($reply)
if ($story->article) print "<P>". check_output($story->article, 1) ."</P>\n";
if ($story->body) print "<P>". check_output($story->body, 1) ."</P>\n";
?>
</TD>
</TR>
......
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