mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-15 06:08:16 +00:00
Replace native with primary where possible
This commit is contained in:
@@ -38,7 +38,7 @@ trait BasicDataSupport
|
||||
*/
|
||||
protected function isInArray(array $array, int $entryId)
|
||||
{
|
||||
$key = $this->convertToNative ? 'native_balance' : 'balance';
|
||||
$key = $this->convertToPrimary ? 'pc_balance' : 'balance';
|
||||
|
||||
return $array[$entryId][$key] ?? '0';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user