Skip to content

Commit

Permalink
QA: Correct syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Dec 31, 2024
1 parent da90f42 commit 16da120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api_scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function api_scheduler_is_time_to_start($schedule) {
break;
case SCHEDULE_HOURLY:
case SCHEDULE_DAILY:
if ($schedule['sched_type']] == SCHEDULE_HOURLY) {
if ($schedule['sched_type'] == SCHEDULE_HOURLY) {
$recur = $schedule['recur_every'] * 3600; // days
} else {
$recur = $schedule['recur_every'] * 86400; // days
Expand Down

0 comments on commit 16da120

Please sign in to comment.