#176081 by John Morahan and Freso@freso.dk: fix notices in chameleon

6.x
Gábor Hojtsy 2007-09-19 19:20:48 +00:00
parent 012686ea09
commit ad6b5dbef0
1 changed files with 2 additions and 2 deletions

View File

@ -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)) {