From 51affd2d6352fd3d08387d50d6642dc3a1fe60d1 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Mon, 26 Sep 2011 16:55:59 +1300 Subject: [PATCH] BUGFIX: update LeftAndMain::handleRequest() to be consistent with Controller::handleRequest() --- admin/code/LeftAndMain.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php index dd46d2f58..b94529acc 100644 --- a/admin/code/LeftAndMain.php +++ b/admin/code/LeftAndMain.php @@ -349,10 +349,10 @@ class LeftAndMain extends Controller { SSViewer::set_theme(null); } - function handleRequest($request) { + function handleRequest($request, DataModel $model) { $title = $this->Title(); - $response = parent::handleRequest($request); + $response = parent::handleRequest($request, $model); $response->addHeader('X-Controller', $this->class); $response->addHeader('X-Title', $title);