Merge pull request #32923 from FHenry/19_fix_fec_import
FIX: FEC import
This commit is contained in:
commit
7e7b07fa6d
1 changed files with 4 additions and 4 deletions
|
|
@ -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 "";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue