Skip to content

Commit

Permalink
Fixed bug #895 : qanda PHPVERSION missing < --revert 2859--
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2862 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed May 7, 2007
1 parent 5c6562b commit 6976a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qanda.php
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ function do_ranking($ia)
$choicelist = "\t\t\t\t\t\t<select size='$anscount' name='CHOICES_{$ia[0]}' ";
if (isset($choicewidth)) {$choicelist.=$choicewidth;}
$choicelist .= " id='CHOICES_{$ia[0]}' onclick=\"if (this.options.length>0 && this.selectedIndex<0) {this.options[this.options.length-1].selected=true;}; rankthis_{$ia[0]}(this.options[this.selectedIndex].value, this.options[this.selectedIndex].text)\" class='select'>\n";
if (_PHPVERSION == "4.2.0")
if (_PHPVERSION <= "4.2.0")
{
foreach ($chosen as $chs) {$choose[]=$chs[0];}
foreach ($answers as $ans)
Expand Down

0 comments on commit 6976a6d

Please sign in to comment.