Browse Source

beers refactor mkXVII

master
jk 3 years ago
parent
commit
c9b6d0ac68
  1. 2
      app/Http/Controllers/SummarieController.php

2
app/Http/Controllers/SummarieController.php

@ -89,7 +89,7 @@ class SummarieController extends Controller
]); ]);
$beer = Summarie::where('beer_id', (int)$id)->first(); $beer = Summarie::where('beer_id', (int)$id)->first();
$beer->beer_id=$beer->beer_id;
$beer->beer_id=(int)$id;
$beer->name = $request->input('name'); $beer->name = $request->input('name');
$beer->type = $request->input('type'); $beer->type = $request->input('type');
$beer->abv = $request->input('abv'); $beer->abv = $request->input('abv');

Loading…
Cancel
Save