Index: branches/5.2.x/units/reports/reports_tag_processor.php =================================================================== diff -u -N -r16516 -r16696 --- branches/5.2.x/units/reports/reports_tag_processor.php (.../reports_tag_processor.php) (revision 16516) +++ branches/5.2.x/units/reports/reports_tag_processor.php (.../reports_tag_processor.php) (revision 16696) @@ -1,6 +1,6 @@ Application->RecallVar('report_options')); + + return $field_values[$params['name']]; + } + + /** + * Replaces "IDField" unit config option to be inline with current report + * + * @param array $params Tag params. + * + * @return string + */ + protected function SyncIDFieldDeclaration(array $params) + { + $field_values = unserialize($this->Application->RecallVar('report_options')); + $this->Application->setUnitOption($this->Prefix, 'IDField', $field_values['id_field']); + + return ''; + } + function CalculateChart($params) { @@ -435,4 +464,4 @@ $curver = explode(".", phpversion()); return ($curver[0] >= $params['version']); } -} \ No newline at end of file +}