diff --git a/app/Http/Controllers/ControlController.php b/app/Http/Controllers/ControlController.php index 93f064dc..21511711 100644 --- a/app/Http/Controllers/ControlController.php +++ b/app/Http/Controllers/ControlController.php @@ -40,7 +40,7 @@ public function index(Request $request) } } sort($attributes); - $values=array_unique($values); + $attributes=array_unique($attributes); // get domain base on his title $domain_title = $request->get('domain_title'); diff --git a/resources/views/controls/edit.blade.php b/resources/views/controls/edit.blade.php index 290874fd..7ab3f0bc 100644 --- a/resources/views/controls/edit.blade.php +++ b/resources/views/controls/edit.blade.php @@ -174,6 +174,9 @@ + + +