Update accounting.lib.php

This commit is contained in:
asolslk 2020-08-08 19:07:55 +08:00 committed by Laurent Destailleur
parent 657e6a2037
commit 5a6f459db5

View File

@ -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)) {