Update accounting.lib.php
This commit is contained in:
parent
9685695577
commit
053740792f
@ -103,7 +103,7 @@ function length_accountg($account)
|
||||
return $account;
|
||||
}
|
||||
|
||||
$g = $conf->global->ACCOUNTING_LENGTH_GACCOUNT;
|
||||
$g = !empty($conf->global->ACCOUNTING_LENGTH_GACCOUNT);
|
||||
if (!is_empty($g)) {
|
||||
// Clean parameters
|
||||
$i = strlen($account);
|
||||
@ -142,7 +142,7 @@ function length_accounta($accounta)
|
||||
return $accounta;
|
||||
}
|
||||
|
||||
$a = $conf->global->ACCOUNTING_LENGTH_AACCOUNT;
|
||||
$a = !empty($conf->global->ACCOUNTING_LENGTH_AACCOUNT);
|
||||
if (!is_empty($a)) {
|
||||
// Clean parameters
|
||||
$i = strlen($accounta);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user