mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Merge branch 'release/4.4.2'
This commit is contained in:
commit
552b4b67a6
@ -2,6 +2,10 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [4.4.2] - 2017-04-27
|
||||
### Fixed
|
||||
Fixed a bug where the opening balance could not be stored.
|
||||
|
||||
## [4.4.1] - 2017-04-27
|
||||
|
||||
### Added
|
||||
|
@ -625,9 +625,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
*/
|
||||
protected function validOpeningBalanceData(array $data): bool
|
||||
{
|
||||
if (isset($data['openingBalance'])
|
||||
&& isset($data['openingBalanceDate'])
|
||||
&& isset($data['openingBalanceCurrency'])
|
||||
if (isset($data['openingBalance']) && isset($data['openingBalanceDate'])
|
||||
&& bccomp(strval($data['openingBalance']), '0') !== 0
|
||||
) {
|
||||
Log::debug('Array has valid opening balance data.');
|
||||
|
@ -23,7 +23,7 @@ return [
|
||||
'is_demo_site' => false,
|
||||
],
|
||||
'encryption' => (is_null(env('USE_ENCRYPTION')) || env('USE_ENCRYPTION') === true),
|
||||
'version' => '4.4.1',
|
||||
'version' => '4.4.2',
|
||||
'maxUploadSize' => 5242880,
|
||||
'allowedMimes' => ['image/png', 'image/jpeg', 'application/pdf'],
|
||||
'list_length' => 10,
|
||||
|
Loading…
Reference in New Issue
Block a user