Merge pull request #32923 from FHenry/19_fix_fec_import

FIX: FEC import
This commit is contained in:
Laurent Destailleur 2025-02-04 22:56:59 +01:00 committed by GitHub
commit 7e7b07fa6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,12 +113,12 @@ class AccountancyImport
/**
* Compute direction
* Compute direction
*
* @param array $arrayrecord Array of read values: [fieldpos] => (['val']=>val, ['type']=>-1=null,0=blank,1=string), [fieldpos+1]...
* @param array $listfields Fields list to add
* @param int $record_key Record key
* @return mixed Value
* @return string Value D or C or ""
*/
public function computeDirection(&$arrayrecord, $listfields, $record_key)
{
@ -132,9 +132,9 @@ class AccountancyImport
$sens = 'C';
}
return "'" . $this->db->escape($sens) . "'";
return $sens;
}
return "''";
return "";
}
}