diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-10-12 11:47:33 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-10-12 11:47:33 +0200 |
commit | ee4289fc1f3a4e93b44561faba2a41634742d1fd (patch) | |
tree | 4c30ed36d5243591736ba7448a2dd0f60bba6baa | |
parent | a905043d0897d3b47729d3a6eccf794d542a45aa (diff) | |
download | manatools-ee4289fc1f3a4e93b44561faba2a41634742d1fd.tar manatools-ee4289fc1f3a4e93b44561faba2a41634742d1fd.tar.gz manatools-ee4289fc1f3a4e93b44561faba2a41634742d1fd.tar.bz2 manatools-ee4289fc1f3a4e93b44561faba2a41634742d1fd.tar.xz manatools-ee4289fc1f3a4e93b44561faba2a41634742d1fd.zip |
Another GroupName moved
-rw-r--r-- | lib/AdminPanel/Module/Users.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm index 5335f0ae..c7913d19 100644 --- a/lib/AdminPanel/Module/Users.pm +++ b/lib/AdminPanel/Module/Users.pm @@ -2132,8 +2132,7 @@ sub _editUserDialog { for(my $i=0;$i < $tbl->itemsCount();$i++) { if ($tbl->toCBYTableItem($tbl->item($i))->checked()) { my $pgItem = new yui::YItem ($tbl->item($i)->label(), 0); - my $Gent = $self->sh_users->ctx->LookupGroupById($userData->{primary_group}); - my $primgroup = $Gent->GroupName($self->sh_users->USER_GetValue); + my $primgroup = $self->sh_users->groupName($userData->{primary_group}); $pgItem->setSelected(1) if ($pgItem->label() eq $primgroup); $itemColl->push($pgItem); |