This commit is contained in:
James Cole
2023-03-11 07:09:27 +01:00
parent 07cb7dd06e
commit f3fc1d8382
9 changed files with 188 additions and 31 deletions

View File

@@ -59,7 +59,7 @@ trait TransferValidation
return false;
}
$this->destination = $search;
$this->setDestination($search);
// must not be the same as the source account
if (null !== $this->source && $this->source->id === $this->destination->id) {
@@ -116,7 +116,7 @@ trait TransferValidation
return false;
}
$this->source = $search;
$this->setSource($search);
Log::debug('Valid source!');
return true;