projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewritten function gl_account_in_company_defaults in gl_db_accounts.inc
[fa-stable.git]
/
reporting
/
rep707.php
diff --git
a/reporting/rep707.php
b/reporting/rep707.php
index 1d1f2fe3a98120a5a31daba4d4ebb7d224685523..85ef695ffe260cbe9b5f75da0c3fac8975e51d3d 100644
(file)
--- 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))
{
$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;
{
if (!is_record_in_tags($tags, TAG_ACCOUNT, $account['account_code']))
continue;