mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fixed a few references to non-existent $request variable.
This commit is contained in:
parent
e4c33686f9
commit
9d36048ada
@ -711,7 +711,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
||||
$this->setCurrentPageID($record->ID);
|
||||
|
||||
$this->response->addHeader('X-Status', _t('LeftAndMain.SAVEDUP'));
|
||||
return $this->getResponseNegotiator()->respond($request);
|
||||
return $this->getResponseNegotiator()->respond($this->request);
|
||||
}
|
||||
|
||||
public function delete($data, $form) {
|
||||
@ -725,7 +725,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
||||
|
||||
$this->response->addHeader('X-Status', _t('LeftAndMain.SAVEDUP'));
|
||||
return $this->getResponseNegotiator()->respond(
|
||||
$request,
|
||||
$this->request,
|
||||
array('currentform' => array($this, 'EmptyForm'))
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user