mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Various code cleanup [skip ci]
This commit is contained in:
@@ -396,7 +396,7 @@ class FireflyValidator extends Validator
|
||||
public function validateUniqueAccountNumberForUser($attribute, $value, $parameters): bool
|
||||
{
|
||||
$accountId = $this->data['id'] ?? 0;
|
||||
if($accountId === 0) {
|
||||
if ($accountId === 0) {
|
||||
$accountId = $parameters[0] ?? 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user