mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Correct afterCallActionHandler arguments to match SS4.
The extension point RequestHandler::afterCallActionHandler was missing a critical argument that has since been added to SS4. This patch backports the change to 3.x.
This commit is contained in:
parent
d430763a87
commit
a4bf2cd1f3
@ -295,7 +295,7 @@ class RequestHandler extends ViewableData {
|
||||
|
||||
$actionRes = $this->$action($request);
|
||||
|
||||
$res = $this->extend('afterCallActionHandler', $request, $action);
|
||||
$res = $this->extend('afterCallActionHandler', $request, $action, $actionRes);
|
||||
if ($res) return reset($res);
|
||||
|
||||
return $actionRes;
|
||||
|
Loading…
Reference in New Issue
Block a user