mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
mlanthaler: Small fix to prevent E_NOTICEs.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41857 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
bf5c5154c4
commit
e23eaf9f8d
@ -116,7 +116,7 @@ abstract class LeftAndMain extends Controller {
|
|||||||
|
|
||||||
public function show($params) {
|
public function show($params) {
|
||||||
if($params['ID']) $this->setCurrentPageID($params['ID']);
|
if($params['ID']) $this->setCurrentPageID($params['ID']);
|
||||||
if($params['OtherID'])
|
if(isset($params['OtherID']))
|
||||||
Session::set('currentMember', $params['OtherID']);
|
Session::set('currentMember', $params['OtherID']);
|
||||||
|
|
||||||
if(Director::is_ajax()) {
|
if(Director::is_ajax()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user