Skip to content

Commit 5450b92

Browse files
author
Timm Ortloff
committed
Fix Reportlets not inserting properly
1 parent dd691fa commit 5450b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Reporting/Web/Forms/ReportForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function onSuccess()
203203
$db->delete('reportlet', ['report_id = ?' => $reportId]);
204204
}
205205

206-
foreach ($values['reportlet'] as $reportlet) {
206+
foreach ($this->getPopulatedValue('reportlet') as $reportlet) {
207207
array_walk($reportlet, function (&$value) {
208208
if ($value === '') {
209209
$value = null;

0 commit comments

Comments
 (0)