Fixed third-party extension installation.
[fa-stable.git] / reporting / rep706.php
index 2fa624a6a21e26ea4bcac2def85d2a5facfd14e4..f5f321bf3142f0ad705c03031d7260429cef3e75 100644 (file)
@@ -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;