Permalink
Browse files

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

  • Loading branch information...
1 parent e4c3368 commit 9d36048adacafb5bd7674ddfa8d0ec6557a9cca2 @sminnee sminnee committed Apr 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/code/LeftAndMain.php
@@ -711,7 +711,7 @@ public function save($data, $form) {
$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 @@ public function delete($data, $form) {
$this->response->addHeader('X-Status', _t('LeftAndMain.SAVEDUP'));
return $this->getResponseNegotiator()->respond(
- $request,
+ $this->request,
array('currentform' => array($this, 'EmptyForm'))
);
}

0 comments on commit 9d36048

Please sign in to comment.