Download & Extend

if ($from == $to) currency_api returns 1 instead of $amount

Project:Currency Exchange
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Zyava
Status:closed (fixed)

Issue Summary

If currency to convert from matches currency to convert to than currency api returns 1.0 always regardless of amount to convert.

Comments

#1

AttachmentSize
currency_api.patch 72 bytes

#2

Status:needs review» closed (fixed)

This is already fixed in the -dev version. Try it and verify that it is.

nobody click here