diff --git a/application/helpers/common_helper.php b/application/helpers/common_helper.php index 3818607c691..0623e2a8f7c 100644 --- a/application/helpers/common_helper.php +++ b/application/helpers/common_helper.php @@ -3265,7 +3265,7 @@ function questionAttributes($returnByName=false) 'category'=>$clang->gT('Display'), 'sortorder'=>120, 'inputtype'=>'text', - "help"=>$clang->gT('Post-Answer-Separator|Inter-Dropdownlist-Separator for dropdown lists'), + "help"=>$clang->gT('Text shown on each subquestion row between both scales in dropdown mode'), "caption"=>$clang->gT('Dropdown separator')); $qattributes["dualscale_headerA"]=array( diff --git a/application/helpers/qanda_helper.php b/application/helpers/qanda_helper.php index ec0e8f1b497..663cba8dc25 100644 --- a/application/helpers/qanda_helper.php +++ b/application/helpers/qanda_helper.php @@ -6431,12 +6431,15 @@ function do_array_dual($ia) $ddsuffix=''; } if (trim($aQuestionAttributes['dropdown_separators'])!='') { - list ($postanswSep, $interddSep) =explode('|',$aQuestionAttributes['dropdown_separators']); - $postanswSep = $postanswSep;// Not used, nether in 2.0 or 1.92: category ? - $interddSep = $interddSep;// it's in seperator .... replace by $rigth/center like before are the best solution + $aSeparator =explode('|',$aQuestionAttributes['dropdown_separators']); + if (isset($aSeparator[1])) { + $interddSep=$aSeparator[1]; + } + else { + $interddSep=$aSeparator[0]; + } } else { - $postanswSep = ''; $interddSep = ''; } $colspan_1 = '';