mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8270 from sminnee/fix-afterCallActionHandler
FIX: Correct afterCallActionHandler arguments to match SS4.
This commit is contained in:
commit
a6cab8850d
@ -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