Skip to content

Commit

Permalink
Fixed issue #6593: Displays HTML Quote for Question type List (dropdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Oct 2, 2012
1 parent ad745b6 commit 56b9c56
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion application/helpers/expressions/em_manager_helper.php
Expand Up @@ -2579,7 +2579,13 @@ public function _CreateSubQLevelRelevanceAndValidationEqns($onlyThisQseq=NULL)
// other comment mandatory
if ($other_comment_mandatory!='')
{
$qtips['other_comment_mandatory']=$this->gT('Please also fill in the “other comment” field.');
if (isset($_qattr['other_replace_text']) && flattenText($_qattr['other_replace_text']) != '') {
$othertext = flattenText($_qattr['other_replace_text']);
}
else {
$othertext = $this->gT('other');
}
$qtips['other_comment_mandatory']=sprintf($this->gT("If necessary, please specify the ‘%s’ text field"),$othertext);
}

// regular expression validation
Expand Down

0 comments on commit 56b9c56

Please sign in to comment.