Stable merged into unstable again (due to failure on binary file during previous...
[fa-stable.git] / gl / includes / db / gl_db_banking.inc
index 608f4e8ce71c6129fce1e765081acd057911166a..0650a0c654ceafd40c6bb60a5ca984a016ebdb97 100644 (file)
@@ -251,8 +251,7 @@ function add_bank_transfer($from_account, $to_account, $date_,
        if ($SysPrefs->auto_currency_revaluation())
        {
                $currency = get_bank_account_currency($to_account);
-
-               if ($exchanged || add_exchange_variation($trans_no1, $date_, $to_account, $to_gl_account,
+               if (add_exchange_variation($trans_no1, $date_, $to_account, $to_gl_account,     
                        $currency, PT_MISC, $person_id))
                        $exchanged = true;
        }