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