Skip to content

Commit

Permalink
Merge pull request #6740 from Hugome/fix-length_accounta
Browse files Browse the repository at this point in the history
FIX: length_accounta return variable name
  • Loading branch information
eldy committed May 4, 2017
2 parents 8318ebc + 5425677 commit 88917af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/accounting.lib.php
Expand Up @@ -151,7 +151,7 @@ function length_accounta($accounta)

if ($accounta < 0 || empty($accounta)) return '';

if (! empty($conf->global->ACCOUNTING_MANAGE_ZERO)) return $account;
if (! empty($conf->global->ACCOUNTING_MANAGE_ZERO)) return $accounta;

$a = $conf->global->ACCOUNTING_LENGTH_AACCOUNT;
if (! empty($a)) {
Expand Down

0 comments on commit 88917af

Please sign in to comment.