зеркало из https://github.com/mozilla/pjs.git
Родитель
fe71d9a5e2
Коммит
cf9b13beec
|
@ -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> </td>
|
||||
|
|
Загрузка…
Ссылка в новой задаче