diff --git a/core/control/ModelAsController.php b/core/control/ModelAsController.php index e5211d6c2..00c691f19 100644 --- a/core/control/ModelAsController.php +++ b/core/control/ModelAsController.php @@ -15,7 +15,7 @@ class ModelAsController extends Controller implements NestedController { $this->init(); $nested = $this->getNestedController(); if(is_object($nested)) { - $result = $nested->handleRequest($requestParams); + $result = $nested->handleRequest($request); } else { $result = $nested; }