php 8 compat fixes for comment subscription

This commit is contained in:
onli 2021-05-29 20:27:02 +02:00
parent 1fc5076112
commit e293bc18f3
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -104,7 +104,7 @@
<script src="{serendipity_getFile file="js/2k11.min.js"}"></script>
{/if}
{$raw_data}
{if isset($raw_data)}{$raw_data}{/if}
{serendipity_hookPlugin hook="frontend_footer"}
{if $is_embedded != true}
</body>