Skip to content

Commit

Permalink
remove duplicate attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Sep 16, 2023
1 parent 439b07e commit bae4d53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Http/Controllers/MeasureController.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public function create()
}
}
sort($values);
$values=array_unique($values);
}

// store it in the response
Expand Down Expand Up @@ -178,6 +179,7 @@ public function edit(Measure $measure)
}
}
sort($values);
$values=array_unique($values);

return view('measures.edit', compact('measure', 'values', 'domains'))->with('domains', $domains);
}
Expand Down
Binary file modified referentials/ISO27001-2022.fr.xlsx
Binary file not shown.

0 comments on commit bae4d53

Please sign in to comment.