Commit 38feede6 authored by David Metzler's avatar David Metzler
Browse files

Fixed bug when adding duplicate parameters. Was not properly pulling

default value form existing parameters. 
parent dd6365ab
......@@ -1759,7 +1759,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