-{elseif $subscribe_confirm_error}
+{elseif isset($subscribe_confirm_error) and $subscribe_confirm_error}
@@ -82,7 +82,7 @@
-{elseif $subscribe_confirm_success}
+{elseif isset($subscribe_confirm_success) and $subscribe_confirm_success}
@@ -96,7 +96,7 @@
-{elseif $content_message}
+{elseif isset($content_message) and $content_message}
diff --git a/templates/timeline/entries.tpl b/templates/timeline/entries.tpl
index 9b490bfa..676a6c86 100644
--- a/templates/timeline/entries.tpl
+++ b/templates/timeline/entries.tpl
@@ -1,6 +1,6 @@
{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
-{if $template_option.display_as_timeline and $entries and !$is_single_entry and not $entry.is_extended and not $is_preview}{* THIS IS OUR FRONTPAGE SCENARIO - OPEN TIMELINE*}
+{if $template_option.display_as_timeline and $entries and !$is_single_entry and not isset($entry.is_extended) and not $is_preview}{* THIS IS OUR FRONTPAGE SCENARIO - OPEN TIMELINE*}
@@ -46,13 +46,13 @@
{assign var="prevmonth" value=$entry.timestamp|@formatTime:"%B"}
{else}{* not using timeline - use blog format instead *}
- {if $entry.body || $entry.properties.timeline_image}
+ {if $entry.body || isset($entry.properties.timeline_image) and $entry.properties.timeline_image}