Commit ad6b5dbe authored by Gábor Hojtsy's avatar Gábor Hojtsy

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

parent 012686ea
......@@ -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)) {
......
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