Skip to content

Commit

Permalink
#7371 Don't call static on instance function
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Oct 12, 2021
1 parent bf6582a commit 11bfc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/linkAction/request/AjaxAction.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function __construct($remoteAction, $requestType = AJAX_REQUEST_TYPE_POST, $requ
$this->_remoteAction = $remoteAction;
$this->_requestType = $requestType;
$this->_requestData = array_merge($requestData, [
'csrfToken' => Application::getRequest()->getSession()->getCSRFToken(),
'csrfToken' => Application::get()->getRequest()->getSession()->getCSRFToken(),
]);
}

Expand Down

0 comments on commit 11bfc64

Please sign in to comment.