Skip to content

Commit

Permalink
Fixed issue #9010: Survey list no longer reads "No active surveys"
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed May 1, 2014
1 parent ef3b402 commit c453d15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/views/surveys/publicSurveyList.php
Expand Up @@ -28,6 +28,10 @@
));
}
}
if(empty($list))
{
$list=CHtml::openTag('li',array('class'=>'surveytitle')).gT("No available surveys").CHtml::closeTag('li');
}
$data['surveylist'] = array(
"nosid"=> "",
"contact"=>sprintf(App()->lang->gT("Please contact %s ( %s ) for further assistance."),Yii::app()->getConfig("siteadminname"),encodeEmail(Yii::app()->getConfig("siteadminemail"))),
Expand Down

0 comments on commit c453d15

Please sign in to comment.