Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 9d36048adacafb5bd7674ddfa8d0ec6557a9cca2 1 parent e4c3368
Sam Minnée sminnee authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/code/LeftAndMain.php
4 admin/code/LeftAndMain.php
View
@@ -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'))
);
}
Please sign in to comment.
Something went wrong with that request. Please try again.