Skip to content

Commit

Permalink
Merge pull request #109 from dbarzin/dev
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
dbarzin authored Jul 24, 2024
2 parents 17777ee + a6c21e1 commit 5c71e78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/ControlController.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ public function edit(int $id)
$attributes = DB::table('measures')
->select('attributes')
->get();
foreach ($attributes as $attribute) {
foreach (explode(' ', $attribute->values) as $value) {
foreach ($attributes as $id => $key) {
foreach (explode(' ', $key->attributes) as $value) {
array_push($values, $value);
}
}
Expand Down

0 comments on commit 5c71e78

Please sign in to comment.