From: Joe Hunt Date: Mon, 22 Feb 2010 00:12:10 +0000 (+0000) Subject: Exchange rate doesn't update table immediately when adding new rate and no exchange... X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=a9381592f6d62d93a810578d8912c7c97ab640b5;p=textcart.git Exchange rate doesn't update table immediately when adding new rate and no exchange rates there before. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a8f4699..0b737b9 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,11 @@ Legend: ! -> Note $ -> Affected files +21-Feb-2010 Joe Hunt +# Exchange rate doesn't update table immediately when adding new rate + and no exchange rates there before. +$ /gl/manage/exchange_rates.php + 21-Feb-2010 Janusz Dobrowolski # Fixed check for language session var. $ /includes/session.inc diff --git a/gl/manage/exchange_rates.php b/gl/manage/exchange_rates.php index 9621085..449168c 100644 --- a/gl/manage/exchange_rates.php +++ b/gl/manage/exchange_rates.php @@ -210,6 +210,8 @@ else br(1); $table->width = "40%"; + if ($table->rec_count == 0) + $table->ready = false; display_db_pager($table); br(1); display_rate_edit();