Merge branch 'develop' of https://github.com/JC5/firefly-iii into develop

* 'develop' of https://github.com/JC5/firefly-iii:
  Fix #243
This commit is contained in:
James Cole 2016-04-18 19:33:27 +02:00
commit 1951491c04
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class AssetAccountIban extends BasicConverter implements ConverterInterface
// is mapped? Then it's easy!
if (isset($this->mapped[$this->index][$this->value])) {
$account = $repository->find($this->mapped[$this->index][$this->value]);
$account = $repository->find(intval($this->mapped[$this->index][$this->value]));
Log::debug('Found mapped account for value "' . $this->value . '". It is account #' . $account->id);
return $account;

View File

@ -25,7 +25,7 @@ class AssetAccountName extends BasicConverter implements ConverterInterface
// is mapped? Then it's easy!
if (isset($this->mapped[$this->index][$this->value])) {
$account = $repository->find($this->mapped[$this->index][$this->value]);
$account = $repository->find(intval($this->mapped[$this->index][$this->value]));
return $account;
}

View File

@ -34,7 +34,7 @@ class AssetAccountNumber extends BasicConverter implements ConverterInterface
// is mapped? Then it's easy!
if (isset($this->mapped[$this->index][$this->value])) {
$account = $repository->find($this->mapped[$this->index][$this->value]);
$account = $repository->find(intval($this->mapped[$this->index][$this->value]));
return $account;
}