X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep706.php;h=f5f321bf3142f0ad705c03031d7260429cef3e75;hb=4b01b6447fcf5849486a8b048f06c1c8bbb13021;hp=2fa624a6a21e26ea4bcac2def85d2a5facfd14e4;hpb=7fae690528df9b851fba309b71bf7c3b961c9dd9;p=fa-stable.git diff --git a/reporting/rep706.php b/reporting/rep706.php index 2fa624a6..f5f321bf 100644 --- a/reporting/rep706.php +++ b/reporting/rep706.php @@ -40,7 +40,7 @@ function display_type ($type, $typename, $from, $to, $convert, &$dec, &$rep, $di $result = get_gl_accounts(null, null, $type); while ($account=db_fetch($result)) { - if ($tags != -1) + if ($tags != -1 && is_array($tags) && $tags[0] != false) { if (!is_record_in_tags($tags, TAG_ACCOUNT, $account['account_code'])) continue;