From a4bf2cd1f301d06731dd56cb977a829fba4d7edd Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Wed, 18 Jul 2018 17:19:18 +1200 Subject: [PATCH] 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. --- control/RequestHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/RequestHandler.php b/control/RequestHandler.php index 0f94bd3eb..0533e33f4 100644 --- a/control/RequestHandler.php +++ b/control/RequestHandler.php @@ -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;