diff options
-rw-r--r-- | themes/example/example.theme | 4 | ||||
-rw-r--r-- | themes/goofy/goofy.theme | 4 | ||||
-rw-r--r-- | themes/jeroen/jeroen.theme | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/themes/example/example.theme b/themes/example/example.theme index 085b2eb38..40f0fb9df 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -82,8 +82,8 @@ <?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> diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index 6f124363e..471c5b556 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -126,8 +126,8 @@ <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 diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme index 0aef27298..b3f2f2c20 100644 --- a/themes/jeroen/jeroen.theme +++ b/themes/jeroen/jeroen.theme @@ -137,8 +137,8 @@ <?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 />"; ?> |