fixed array_unique usage
This commit is contained in:
parent
cbad61519e
commit
5eb0bcbc39
|
@ -870,7 +870,7 @@ class sambaSamAccount extends baseModule implements passwordService {
|
||||||
$workstations = array_merge($workstations, $_POST['availableSambaUserWorkstations']);
|
$workstations = array_merge($workstations, $_POST['availableSambaUserWorkstations']);
|
||||||
// remove doubles
|
// remove doubles
|
||||||
$workstations = array_flip($workstations);
|
$workstations = array_flip($workstations);
|
||||||
array_unique($workstations);
|
$workstations = array_unique($workstations);
|
||||||
$workstations = array_flip($workstations);
|
$workstations = array_flip($workstations);
|
||||||
// sort workstations
|
// sort workstations
|
||||||
sort($workstations);
|
sort($workstations);
|
||||||
|
|
Loading…
Reference in New Issue