Tumblr/Bluesky: Avoid problems on first fetch #1452

Merged
MrPetovan merged 1 commit from heluecht/friendica-addons:first-fetch into 2023.09-rc 2023-12-21 13:45:25 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 96c70489f5 - Show all commits

View file

@ -463,7 +463,7 @@ function bluesky_jot_nets(array &$jotnets_fields)
function bluesky_cron()
{
$last = DI::keyValue()->get('bluesky_last_poll');
$last = (int)DI::keyValue()->get('bluesky_last_poll');
$poll_interval = intval(DI::config()->get('bluesky', 'poll_interval'));
if (!$poll_interval) {

View file

@ -406,7 +406,7 @@ function tumblr_settings_post(array &$b)
function tumblr_cron()
{
$last = DI::keyValue()->get('tumblr_last_poll');
$last = (int)DI::keyValue()->get('tumblr_last_poll');
$poll_interval = intval(DI::config()->get('tumblr', 'poll_interval'));
if (!$poll_interval) {