#176081 by John Morahan and Freso@freso.dk: fix notices in chameleon
parent
012686ea09
commit
ad6b5dbef0
|
@ -124,7 +124,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) {
|
||||||
if ($teaser && $node->teaser) {
|
if ($teaser && $node->teaser) {
|
||||||
$output .= $node->teaser;
|
$output .= $node->teaser;
|
||||||
}
|
}
|
||||||
else {
|
elseif (isset($node->body)) {
|
||||||
$output .= $node->body;
|
$output .= $node->body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ function chameleon_node($node, $teaser = 0, $page = 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$links = array_merge($submitted, $terms);
|
$links = array_merge($submitted, $terms);
|
||||||
if ($node->links) {
|
if (isset($node->links)) {
|
||||||
$links = array_merge($links, $node->links);
|
$links = array_merge($links, $node->links);
|
||||||
}
|
}
|
||||||
if (count($links)) {
|
if (count($links)) {
|
||||||
|
|
Loading…
Reference in New Issue