From 5eb0bcbc391a8f95554b99d4b071baf3c8c304a2 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 23 Dec 2018 10:32:36 +0100 Subject: [PATCH] fixed array_unique usage --- lam/lib/modules/sambaSamAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);