Bug in demensions_list. If dimensions are closed they shall NOT show up in the lists.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 13 May 2009 15:41:42 +0000 (15:41 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 13 May 2009 15:41:42 +0000 (15:41 +0000)
CHANGELOG.txt
includes/ui/ui_lists.inc

index dae7f9c475784841bbfd7eb1929e131ce11c0cdb..df55588ddb4689325401045f1fdbd84ac1dd40fe 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+13-May-2009 Joe Hunt
+# Bug in demensions_list. If dimensions are closed they shall NOT show up in the lists.
+$ /includes/ui/ui_lists.inc
+
 10-May-2009 Joe Hunt
 # Period presentation bug in tax report/inquiry
 $ /gl/inquiry/tax_inquiry.php
index afa50ee72b623308e82315b40586ee70c51c2395..293df26e7d5a6cf2715ae11e3b9df5bd5915b8fe 100644 (file)
@@ -602,7 +602,7 @@ $options = array(
        'async' => false,
        );
 
-       if ($showclosed)
+       if (!$showclosed)
                $options['where'][] = "closed=0";
        if($showtype)
                $options['where'][] = "type_=$showtype";