diff --git a/backup/util/helper/backup_cron_helper.class.php b/backup/util/helper/backup_cron_helper.class.php index f08701e..c69869d 100644 --- a/backup/util/helper/backup_cron_helper.class.php +++ b/backup/util/helper/backup_cron_helper.class.php @@ -283,7 +283,7 @@ abstract class backup_cron_automated_helper { //Get number of days (from today) to execute backups $automateddays = substr($config->backup_auto_weekdays,$date['wday']) . $config->backup_auto_weekdays; - $daysfromtoday = strpos($automateddays, "1"); + $daysfromtoday = strpos($automateddays, "1", 1); if (empty($daysfromtoday)) { $daysfromtoday = 1; }