|
|
@ -108,7 +108,7 @@ class SearchController extends Controller |
|
|
|
foreach ($fermentations as $fermentation){ |
|
|
|
$j = $i + 1; |
|
|
|
if ($i == 0){ |
|
|
|
$fermentarr = array('stage'=>$j, 'temp'=>$fermentation->temperature, 'duration'=>$fermentation->duration); |
|
|
|
$fermentarr[] = array('stage'=>$j, 'temp'=>$fermentation->temperature, 'duration'=>$fermentation->duration); |
|
|
|
} else { |
|
|
|
array_push($fermentarr, array('stage'=>$j, 'temp'=>$fermentation->temperature, 'duration'=>$fermentation->duration)); |
|
|
|
}; |
|
|
|