diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-03-31 15:39:29 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-03-31 15:39:29 +0000 |
commit | 74fe7990d2f05089bf699236e2191c41cdcdf8b1 (patch) | |
tree | 221cd3cc6f220001f7be6bf692546340992cc4cb | |
parent | 34afc4bd2fbb4b835ce28e0c6cfdfdc9c330aa20 (diff) | |
download | brdo-74fe7990d2f05089bf699236e2191c41cdcdf8b1.tar.gz brdo-74fe7990d2f05089bf699236e2191c41cdcdf8b1.tar.bz2 |
Fixed article/body bug
-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 />"; ?> |