BUGFIX: Fixed a few references to non-existent $request variable.

This commit is contained in:
Sam Minnee 2012-04-19 10:11:01 +12:00
parent e4c33686f9
commit 9d36048ada

View File

@ -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'))
);
}