Escape quotes properly
This commit is contained in:
committed by
Jeremy Newman
parent
b3eee9c65f
commit
79c96554d6
@@ -99,7 +99,7 @@ function make_bugzilla_version_list($varname, $cvalue)
|
|||||||
if(!$result) return;
|
if(!$result) return;
|
||||||
|
|
||||||
echo "<select name='$varname'>\n";
|
echo "<select name='$varname'>\n";
|
||||||
echo "<option value=" ">Choose ...</option>\n";
|
echo "<option value=\" \">Choose ...</option>\n";
|
||||||
while(list($value) = mysql_fetch_row($result))
|
while(list($value) = mysql_fetch_row($result))
|
||||||
{
|
{
|
||||||
if($value == $cvalue)
|
if($value == $cvalue)
|
||||||
@@ -114,7 +114,7 @@ function make_maintainer_rating_list($varname, $cvalue)
|
|||||||
{
|
{
|
||||||
|
|
||||||
echo "<select name='$varname'>\n";
|
echo "<select name='$varname'>\n";
|
||||||
echo "<option value=" ">Choose ...</option>\n";
|
echo "<option value=\" \">Choose ...</option>\n";
|
||||||
$aRating = array("Gold", "Silver", "Bronze", "Garbage");
|
$aRating = array("Gold", "Silver", "Bronze", "Garbage");
|
||||||
$iMax = count($aRating);
|
$iMax = count($aRating);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user