diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index f832b2b3..abf150b9 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -973,7 +973,7 @@ function serendipity_commentSubscriptionConfirm($hash) { } serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}options - WHERE okey LIKE 'commentsub_%' AND $cast < " . (time() - 1814400) . ")"); + WHERE okey LIKE 'commentsub_%' AND $cast < (" . (time() - 1814400) . ")"); $hashinfo = serendipity_db_query("SELECT value FROM {$serendipity['dbPrefix']}options diff --git a/templates/2k11/index.tpl b/templates/2k11/index.tpl index b5376c85..f5fa044a 100644 --- a/templates/2k11/index.tpl +++ b/templates/2k11/index.tpl @@ -104,7 +104,7 @@ {/if} -{$raw_data} +{if isset($raw_data)}{$raw_data}{/if} {serendipity_hookPlugin hook="frontend_footer"} {if $is_embedded != true}