Skip to content

Commit 469b1b9

Browse files
Fix PHP fatal error
1 parent fe3d789 commit 469b1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/feedzy-rss-feeds-import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2380,7 +2380,7 @@ public function get_cron_execution( $execution, $offset = 0 ) {
23802380
if ( empty( $offset ) && ! empty( $this->free_settings['general']['fz_execution_offset'] ) ) {
23812381
$offset = $this->free_settings['general']['fz_execution_offset'];
23822382
}
2383-
$execution = strtotime( $execution ) ? strtotime( $execution ) + ( HOUR_IN_SECONDS * $offset ) : time() + ( HOUR_IN_SECONDS * $offset );
2383+
$execution = strtotime( $execution ) ? strtotime( $execution ) + ( HOUR_IN_SECONDS * (int) $offset ) : time() + ( HOUR_IN_SECONDS * (int) $offset );
23842384
return $execution;
23852385
}
23862386

0 commit comments

Comments
 (0)