From 6cbea1ade0d5507f4213644275dff658864db99a Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 13 May 2009 15:41:42 +0000 Subject: [PATCH] Bug in demensions_list. If dimensions are closed they shall NOT show up in the lists. --- CHANGELOG.txt | 4 ++++ includes/ui/ui_lists.inc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index dae7f9c4..df55588d 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 afa50ee7..293df26e 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"; -- 2.30.2