X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Frep707.php;h=85ef695ffe260cbe9b5f75da0c3fac8975e51d3d;hb=ee7f610a0669b4dd4a85d19c1969573a82ee1826;hp=1d1f2fe3a98120a5a31daba4d4ebb7d224685523;hpb=5e5944444f1518e2c622091ceb5e3caefa7fe0d5;p=fa-stable.git diff --git a/reporting/rep707.php b/reporting/rep707.php index 1d1f2fe3..85ef695f 100644 --- a/reporting/rep707.php +++ b/reporting/rep707.php @@ -41,7 +41,7 @@ function display_type ($type, $typename, $from, $to, $begin, $end, $compare, $co $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;