Index: branches/5.1.x/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r13884 -r13885 --- branches/5.1.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 13884) +++ branches/5.1.x/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 13885) @@ -1,6 +1,6 @@ GetFormattedTotal($field, $total_function); + if (array_key_exists('currency', $params) && $params['currency']) { + $iso = $this->GetISO($params['currency']); + $original = $list->getTotal($field, $total_function); + $value = $this->ConvertCurrency($original, $iso); + $list->setTotal($field, $total_function, $value); + } + + $value = $list->GetFormattedTotal($field, $total_function); + + if (array_key_exists('currency', $params) && $params['currency']) { + $value = $this->AddCurrencySymbol($value, $iso); + } + + return $value; } /**