Skip to content

Commit 0c907ca

Browse files
author
Timm Ortloff
committed
Fix Reportlets not inserting properly
1 parent b251deb commit 0c907ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Reporting/Web/Forms/ReportForm.php

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

196-
foreach ($values['reportlet'] as $reportlet) {
196+
foreach ($this->getPopulatedValue('reportlet') as $reportlet) {
197197
array_walk($reportlet, function (&$value) {
198198
if ($value === '') {
199199
$value = null;

0 commit comments

Comments
 (0)