fixed array_unique usage

This commit is contained in:
Roland Gruber 2018-12-23 10:32:36 +01:00
parent cbad61519e
commit 5eb0bcbc39
1 changed files with 1 additions and 1 deletions

View File

@ -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);