From: <gem...@li...> - 2012-05-31 20:05:20
|
Revision: 723 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=723&view=rev Author: michieltcs Date: 2012-05-31 20:05:14 +0000 (Thu, 31 May 2012) Log Message: ----------- Fix if statement 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-31 15:35:25 UTC (rev 722) +++ trunk/library/classes/Gems/Default/RespondentExportAction.php 2012-05-31 20:05:14 UTC (rev 723) @@ -157,12 +157,14 @@ ->td(strtoupper($token->getTokenId())) ->td(($token->isCompleted() ? $this->_('Yes') : $this->_('No'))); - if (($engine->getTrackType() == 'S' || !$groupSurveys) && $token->isCompleted()) { - $this->html->span()->b($token->getSurveyName() . ($token->getRoundDescription() ? ' (' . $token->getRoundDescription() . ')' : '')); - $this->addSnippet($this->_singleSurveySnippet, 'token', $token, 'tokenId', $token->getTokenId(), - 'showHeaders', false, 'showButtons', false, 'showSelected', false, 'showTakeButton', false); - - $this->html->br(); + if ($engine->getTrackType() == 'S' || !$groupSurveys) { + if ($token->isCompleted()) { + $this->html->span()->b($token->getSurveyName() . ($token->getRoundDescription() ? ' (' . $token->getRoundDescription() . ')' : '')); + $this->addSnippet($this->_singleSurveySnippet, 'token', $token, 'tokenId', $token->getTokenId(), + 'showHeaders', false, 'showButtons', false, 'showSelected', false, 'showTakeButton', false); + + $this->html->br(); + } } else { if (!isset($surveys[$token->getSurveyId()])) { $surveys[$token->getSurveyId()] = true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |