Skip to content

Commit

Permalink
Fixed issue #4108: Notice at Question Preview at a Slider Question
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8411 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Feb 18, 2010
1 parent ec6d7a9 commit ba55003
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion qanda.php
Original file line number Diff line number Diff line change
Expand Up @@ -4138,7 +4138,20 @@ function do_multiplenumeric($ia)
}
else
{
list($theanswer,$sliderleft,$sliderright) =explode($slider_separator,$ansrow['answer']);
$answer_and_slider_array=explode($slider_separator,$ansrow['answer']);
if (isset($answer_and_slider_array[0]))
$theanswer=$answer_and_slider_array[0];
else
$theanswer="";
if (isset($answer_and_slider_array[1]))
$sliderleft=$answer_and_slider_array[1];
else
$sliderleft="";
if (isset($answer_and_slider_array[2]))
$sliderright=$answer_and_slider_array[2];
else
$sliderright="";

$sliderleft="<div class=\"slider_lefttext\">$sliderleft</div>";
$sliderright="<div class=\"slider_righttext\">$sliderright</div>";
}
Expand Down

0 comments on commit ba55003

Please sign in to comment.