mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: update LeftAndMain::handleRequest() to be consistent with Controller::handleRequest()
This commit is contained in:
parent
1732a17114
commit
51affd2d63
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user