...
This commit is contained in:
parent
09b75172d8
commit
64e4959884
9 changed files with 91 additions and 67 deletions
|
|
@ -114,8 +114,7 @@ class RoundsController extends Controller
|
|||
|
||||
// Validate form
|
||||
$this->validate(request(), [
|
||||
'round_id' => 'required',
|
||||
'report' => 'required'
|
||||
'round_id' => 'required'
|
||||
]);
|
||||
|
||||
$seasonId = Season::getCurrent()->id;
|
||||
|
|
@ -124,8 +123,10 @@ class RoundsController extends Controller
|
|||
|
||||
//Log::info("Report = ".request("report"));
|
||||
|
||||
|
||||
$round->report = request("report");
|
||||
$round->report="";
|
||||
if (request("report")){
|
||||
$round->report = request("report");
|
||||
}
|
||||
$round->save();
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue