diff --git a/bluesky/bluesky.php b/bluesky/bluesky.php index 94d5cb319..dac95437e 100644 --- a/bluesky/bluesky.php +++ b/bluesky/bluesky.php @@ -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) { diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php index 9b29deb31..4d5368b80 100644 --- a/tumblr/tumblr.php +++ b/tumblr/tumblr.php @@ -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) {