diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-19 19:20:48 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-19 19:20:48 +0000 |
commit | ad6b5dbef0511717a90fabbfb42b093f4502ec34 (patch) | |
tree | 945fb49ca317d0c752fe52f893da7c9ea615d4e9 /themes | |
parent | 012686ea096ef0e470e6f0c20ab8ebdc9970b163 (diff) | |
download | brdo-ad6b5dbef0511717a90fabbfb42b093f4502ec34.tar.gz brdo-ad6b5dbef0511717a90fabbfb42b093f4502ec34.tar.bz2 |
#176081 by John Morahan and Freso@freso.dk: fix notices in chameleon
Diffstat (limited to 'themes')
-rw-r--r-- | themes/chameleon/chameleon.theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme index 7ba6d71f8..31ab7e911 100644 --- a/themes/chameleon/chameleon.theme +++ b/themes/chameleon/chameleon.theme @@ -124,7 +124,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) { if ($teaser && $node->teaser) { $output .= $node->teaser; } - else { + elseif (isset($node->body)) { $output .= $node->body; } @@ -140,7 +140,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) { } $links = array_merge($submitted, $terms); - if ($node->links) { + if (isset($node->links)) { $links = array_merge($links, $node->links); } if (count($links)) { |