Skip to content

Commit

Permalink
Fix edit.php unhandled null
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonflyfree authored Aug 31, 2023
1 parent a94bcea commit 335ce46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/modules/report/actions/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function edit_GET(Web &$w)
(new \Html\Form\Select([
"id|name" => "module",
"label" => "Module",
"selected_option" => strtolower($report->module),
"selected_option" => strtolower($report->module ?? ""),
"options" => ReportService::getInstance($w)->getModules(),
])),
(new \Html\Form\Select([
Expand Down

0 comments on commit 335ce46

Please sign in to comment.