@ -52,8 +52,7 @@ class GrainController extends Controller
}
if ($request->input('alternative'))
{
$altArr = array_map('intval',explode(',',$request->input('alternative')));
$grain->alternative = $altArr;
$grain->alternative = '{'.$request->input('alternative'.'}';
if ($request->input('ebc'))