# Shut up misguided -w warnings about "used only once":
usevars@::legal_platform,
@::legal_severity,
@::legal_opsys,
@::legal_priority;
# Shut up misguided -w warnings about "used only once". "use vars" just
# doesn't work for me.
sub sillyness{
my$zz;
$zz=$::unconfirmedstate;
$zz=@::legal_opsys;
$zz=@::legal_platform;
$zz=@::legal_priority;
$zz=@::legal_severity;
}
if(!defined$::FORM{'product'}){
...
...
@@ -322,6 +329,29 @@ print "
"</TEXTAREA><BR></td>
</tr>
<tr>
<td></td><td colspan=5>
";
if($::usergroupsetne'0'){
SendSQL("SELECT bit, description FROM groups ".
"WHERE bit & $::usergroupset != 0 ".
" AND isbuggroup != 0 ORDER BY bit");
while(MoreSQLData()){
my($bit,$description)=(FetchSQLData());
printBuildPulldown("bit-$bit",
[["0",
"People not in the \"$description\" group can see this bug"],
["1",
"Only people in the \"$description\" group can see this bug"]],
0);
print"<BR>\n";
}
}
print"
</td>
</tr>
<tr>
<td></td>
<td colspan=5>
<INPUT TYPE=\"submit\" VALUE=\" Commit \" ONCLICK=\"if (this.form.short_desc.value =='') { alert('Please enter a summary sentence for this bug.'); return false; }\">