Commit ca0b9e58 authored by David Metzler's avatar David Metzler
Browse files

#894994 Fix for problem adding report when no paramaters exist.

parent feee35a0
......@@ -1730,7 +1730,7 @@ function forena_data_select_block_submit($form, &$form_state) {
$r = FrxReportGenerator::instance()->get_report($values['report_name']);
$rpt_params = $r->parameters;
if ($rpt_params) foreach ($block_info['tokens'] as $index => $id) {
$parms[$id] = @$rpt_params[$id];
$parms[$id] = @$rpt_params[$id]['value'];
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment