Exchange rate doesn't update table immediately when adding new rate and no exchange...
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 22 Feb 2010 00:12:10 +0000 (00:12 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 22 Feb 2010 00:12:10 +0000 (00:12 +0000)
CHANGELOG.txt
gl/manage/exchange_rates.php

index a8f4699e30596734bbd8cffb996e2c7ebaad424d..0b737b99b7bbf31ef2738bda87afc3597a4b067d 100644 (file)
@@ -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
index 9621085eb98d57d1963075747f5b8f6e804a2b95..449168c40e1c73e422af1a87254d839bc655ea6e 100644 (file)
@@ -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();