diff options
-rwxr-xr-x | userdrake | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -716,8 +716,8 @@ sub Edit { if (InArray($name, $members)) { $uEnt = $ctx->LookupUserByName($name); if ($uEnt->Gid($GetValue) == $groupEnt->Gid($GetValue)) { - $model->set($iter, [0 => gtkcreate_pixbuf($pix[0])]); - $model->set($iter, [2 => 1]); + $model->set($iter, 0 => gtkcreate_pixbuf($pix[0])); + $model->set($iter, 2 => 1); RaiseError(N("You cannot remove user '%s' from their primary group", $name)); } if (!$error) { @@ -767,8 +767,8 @@ sub Edit { return unless $iter; my $cp = $model->get($iter, 2); my $item = $model->get($iter, 1); - $model->set($iter, [0 => gtkcreate_pixbuf($pix[$cp])]); - $model->set($iter, [2 => !$cp]); + $model->set($iter, 0 => gtkcreate_pixbuf($pix[$cp])); + $model->set($iter, 2 => !$cp); if ($p <= 0) { if (!$cp) { !InArray($item, \@primgroup) and push(@primgroup, $item) |