diff --git a/lam/lib/modules/sambaSamAccount.inc b/lam/lib/modules/sambaSamAccount.inc index bc8b7b5f..e7576c0e 100644 --- a/lam/lib/modules/sambaSamAccount.inc +++ b/lam/lib/modules/sambaSamAccount.inc @@ -870,7 +870,7 @@ class sambaSamAccount extends baseModule implements passwordService { $workstations = array_merge($workstations, $_POST['availableSambaUserWorkstations']); // remove doubles $workstations = array_flip($workstations); - array_unique($workstations); + $workstations = array_unique($workstations); $workstations = array_flip($workstations); // sort workstations sort($workstations);