Browse Source

grains refactor mkVII

master
jk 3 years ago
parent
commit
1b8111a645
  1. 3
      app/Http/Controllers/GrainController.php

3
app/Http/Controllers/GrainController.php

@ -52,8 +52,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'))
{ {

Loading…
Cancel
Save