Browse Source

FIX: length_accounta return variable name

hugome 8 years ago
parent
commit
54256773c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/core/lib/accounting.lib.php

+ 1 - 1
htdocs/core/lib/accounting.lib.php

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