|
|
@ -93,9 +93,9 @@ class SearchController extends Controller |
|
|
|
$result['boil'] = $mash->boil; |
|
|
|
} |
|
|
|
if ($i == 0){ |
|
|
|
$masharr[] = array('id'=>$mash->id, 'stage'=>$mash->stage, 'duration'=>$mash->duration); |
|
|
|
$masharr[] = array('id'=>$mash->id, 'stage'=>$mash->stage, 'duration'=>$mash->duration, 'temp'=>$mash->temp); |
|
|
|
} else { |
|
|
|
array_push($masharr, array('id'=>$mash->id, 'stage'=>$mash->stage, 'duration'=>$mash->duration)); |
|
|
|
array_push($masharr, array('id'=>$mash->id, 'stage'=>$mash->stage, 'duration'=>$mash->duration, 'temp'=>$mash->temp)); |
|
|
|
}; |
|
|
|
$i++; |
|
|
|
}; |
|
|
|