From: Joe Hunt Date: Wed, 13 May 2009 15:41:42 +0000 (+0000) Subject: Bug in demensions_list. If dimensions are closed they shall NOT show up in the lists. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=9f2010358ea5fdd064b141cab21ea04e3ff95fa2;p=textcart.git Bug in demensions_list. If dimensions are closed they shall NOT show up in the lists. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index dae7f9c..df55588 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index afa50ee..293df26 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -602,7 +602,7 @@ $options = array( 'async' => false, ); - if ($showclosed) + if (!$showclosed) $options['where'][] = "closed=0"; if($showtype) $options['where'][] = "type_=$showtype";