Update accounting.lib.php
This commit is contained in:
parent
657e6a2037
commit
5a6f459db5
@ -96,7 +96,7 @@ function length_accountg($account)
|
||||
|
||||
if ($account < 0 || is_empty($account)) return '';
|
||||
|
||||
if (!is_empty($conf->global->ACCOUNTING_MANAGE_ZERO)) return $account;
|
||||
if (is_empty($conf->global->ACCOUNTING_MANAGE_ZERO)) return $account;
|
||||
|
||||
$g = $conf->global->ACCOUNTING_LENGTH_GACCOUNT;
|
||||
if (!is_empty($g)) {
|
||||
@ -131,7 +131,7 @@ function length_accounta($accounta)
|
||||
|
||||
if ($accounta < 0 || is_empty($accounta)) return '';
|
||||
|
||||
if (!is_empty($conf->global->ACCOUNTING_MANAGE_ZERO)) return $accounta;
|
||||
if (is_empty($conf->global->ACCOUNTING_MANAGE_ZERO)) return $accounta;
|
||||
|
||||
$a = $conf->global->ACCOUNTING_LENGTH_AACCOUNT;
|
||||
if (!is_empty($a)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user