Commit 78c5a4f2 authored by David Metzler's avatar David Metzler
Browse files

Fixed casting of parameters to string.

parent 6d6102e5
......@@ -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] = (string)@$rpt_params[$id];
$parms[$id] = @$rpt_params[$id];
}
}
......
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