Skip to content

Commit

Permalink
Merge branch '4.0' into 4
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 22, 2025
2 parents 8d69a50 + 119c8e0 commit 9b1e941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/GenerateCSVJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ protected function initRequest()
Injector::inst()->registerService($request);
}

if (!Controller::has_curr()) {
if (!Controller::curr()) {
$controller = new Controller();
$controller->setRequest(Injector::inst()->get(HTTPRequest::class));
$controller->pushCurrent();
Expand Down

0 comments on commit 9b1e941

Please sign in to comment.