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