Skip to content

Commit

Permalink
Merge pull request #8183 from Sesquipedalian/calculateNextTrigger_typ…
Browse files Browse the repository at this point in the history
…e_error

Fixes a type error when calling SMF\TaskRunner::calculateNextTrigger()
  • Loading branch information
Sesquipedalian authored Apr 26, 2024
2 parents 57a7915 + 2824e27 commit f64fc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Actions/Admin/Tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public function edit(): void
);

// Check the next event.
TaskRunner::calculateNextTrigger($_GET['tid'], true);
TaskRunner::calculateNextTrigger((string) $_GET['tid'], true);

// Return to the main list.
Utils::redirectexit('action=admin;area=scheduledtasks');
Expand Down

0 comments on commit f64fc14

Please sign in to comment.