Update accounting.lib.php

This commit is contained in:
asolslk 2020-08-08 19:07:55 +08:00 committed by GitHub
parent 4e6158d23c
commit ea829913b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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