Skip to content

Commit 70bfd3c

Browse files
author
Timm Ortloff
committed
Fix Reportlets not inserting properly
1 parent 03768e0 commit 70bfd3c

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
@@ -173,7 +173,7 @@ public function onSuccess()
173173
$db->delete('reportlet', ['report_id = ?' => $reportId]);
174174
}
175175

176-
foreach ($values['reportlet'] as $reportlet) {
176+
foreach ($this->getPopulatedValue('reportlet') as $reportlet) {
177177
array_walk($reportlet, function (&$value) {
178178
if ($value === '') {
179179
$value = null;

0 commit comments

Comments
 (0)