Index: branches/5.3.x/units/reports/reports_tag_processor.php =================================================================== diff -u -N -r15492 -r15695 --- branches/5.3.x/units/reports/reports_tag_processor.php (.../reports_tag_processor.php) (revision 15492) +++ branches/5.3.x/units/reports/reports_tag_processor.php (.../reports_tag_processor.php) (revision 15695) @@ -1,6 +1,6 @@ Application->getUnitOption('rep', 'VirtualFields'); + $a_virtual_fields = $this->Application->getUnitConfig('rep')->getVirtualFields(); + foreach ($a_virtual_fields['Metric']['options'] AS $field => $label) { $metric = $field;