We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe3d789 commit 469b1b9Copy full SHA for 469b1b9
includes/admin/feedzy-rss-feeds-import.php
@@ -2380,7 +2380,7 @@ public function get_cron_execution( $execution, $offset = 0 ) {
2380
if ( empty( $offset ) && ! empty( $this->free_settings['general']['fz_execution_offset'] ) ) {
2381
$offset = $this->free_settings['general']['fz_execution_offset'];
2382
}
2383
- $execution = strtotime( $execution ) ? strtotime( $execution ) + ( HOUR_IN_SECONDS * $offset ) : time() + ( HOUR_IN_SECONDS * $offset );
+ $execution = strtotime( $execution ) ? strtotime( $execution ) + ( HOUR_IN_SECONDS * (int) $offset ) : time() + ( HOUR_IN_SECONDS * (int) $offset );
2384
return $execution;
2385
2386
0 commit comments