mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Removed defunct param parsing in LeftAndMain->show(), wasn't working since we switched to RequestHandler in 2.2
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92670 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0b9f4ab533
commit
8b89a265da
@ -339,15 +339,10 @@ class LeftAndMain extends Controller {
|
|||||||
return $title;
|
return $title;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function show($params) {
|
public function show($request) {
|
||||||
if($params['ID']) $this->setCurrentPageID($params['ID']);
|
|
||||||
if(isset($params['OtherID']))
|
|
||||||
Session::set('currentMember', $params['OtherID']);
|
|
||||||
|
|
||||||
if(Director::is_ajax()) {
|
if(Director::is_ajax()) {
|
||||||
SSViewer::setOption('rewriteHashlinks', false);
|
SSViewer::setOption('rewriteHashlinks', false);
|
||||||
return $this->EditForm()->formHtmlContent();
|
return $this->EditForm()->formHtmlContent();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user