diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 0d8f873..a9e147e 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -99,9 +99,9 @@ class SearchController extends Controller }; $i++; }; - $results['mashes']=$masharr; + $result['mashes']=$masharr; $hopadditions = Hopaddition::where('beer_id', $result->beer_id)->distinct('timing')->get(); - $results['hopadditions'] = $hoppaditions; + $result['hopadditions'] = $hoppadditions; } break; case('brewerie'):