Skip to content

Commit

Permalink
Update accountancyimport.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy authored Feb 4, 2025
1 parent bef5cbc commit 0cc6121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/accountancy/class/accountancyimport.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ public function computeAmount(&$arrayrecord, $listfields, $record_key)


/**
* 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)
{
Expand All @@ -132,7 +132,7 @@ public function computeDirection(&$arrayrecord, $listfields, $record_key)
$sens = 'C';
}

return $this->db->escape($sens);
return $sens;
}

return "";
Expand Down

0 comments on commit 0cc6121

Please sign in to comment.