Commit f61593be authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bug 174112 Edit multiple bugs broken

r=burnus
parent 3a6b7a7b
......@@ -200,7 +200,7 @@ sub GetGroupsByUserId {
return if !$userid;
SendSQL("
SELECT groups.id, name, description, isactive
SELECT DISTINCT groups.id, name, description, isactive
FROM groups, user_group_map
WHERE user_id = $userid AND NOT isbless
AND user_group_map.group_id = groups.id
......
......@@ -931,6 +931,7 @@ if ($::FORM{'keywords'}) {
my $keywordaction = $::FORM{'keywordaction'} || "makeexact";
if ($::comma eq ""
&& (! @groupAdd) && (! @groupDel)
&& (! @::legal_keywords || (0 == @keywordlist && $keywordaction ne "makeexact"))
&& defined $::FORM{'masscc'} && ! $::FORM{'masscc'}
) {
......
......@@ -182,14 +182,14 @@
[% FOREACH group = groups %]
<tr>
<td align="center">
<input type="radio" name="bit-[% group.bit %]" value="-1" checked="checked">
<input type="radio" name="bit-[% group.id %]" value="-1" checked="checked">
</td>
<td align="center">
<input type="radio" name="bit-[% group.bit %]" value="0">
<input type="radio" name="bit-[% group.id %]" value="0">
</td>
[% IF group.isactive %]
<td align="center">
<input type="radio" name="bit-[% group.bit %]" value="1">
<input type="radio" name="bit-[% group.id %]" value="1">
</td>
[% ELSE %]
<td>&nbsp;</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment