From: <gem...@li...> - 2012-05-20 19:48:30
|
Revision: 693 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=693&view=rev Author: mennodekker Date: 2012-05-20 19:48:24 +0000 (Sun, 20 May 2012) Log Message: ----------- layoutswitch is only for multi-layout projects Modified Paths: -------------- trunk/library/classes/Gems/Default/RespondentExportAction.php Modified: trunk/library/classes/Gems/Default/RespondentExportAction.php =================================================================== --- trunk/library/classes/Gems/Default/RespondentExportAction.php 2012-05-18 14:45:28 UTC (rev 692) +++ trunk/library/classes/Gems/Default/RespondentExportAction.php 2012-05-20 19:48:24 UTC (rev 693) @@ -217,7 +217,9 @@ $this->_exportRespondent($respondentId); $this->escort->menu->setVisible(false); - $this->escort->layoutSwitch(); + if ($this->escort instanceof Gems_Project_Layout_MultiLayoutInterface) { + $this->escort->layoutSwitch(); + } $this->escort->postDispatch($this->getRequest()); $this->_helper->layout()->disableLayout(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |