Push some more fixes for #1378

This commit is contained in:
James Cole
2018-04-25 17:02:43 +02:00
parent 490c817fc1
commit 71f39f55f2
4 changed files with 8 additions and 7 deletions

View File

@@ -810,7 +810,7 @@ class BunqRoutine implements RoutineInterface
$this->addStep();
$account = new MonetaryAccountBank($accountData);
$importId = $account->getId();
if (1 === $mapping[$importId]) {
if (isset($mapping[$importId])) {
Log::debug(sprintf('Will grab payments for account %s', $account->getDescription()));
$request = new ListPaymentRequest();
$request->setPrivateKey($this->getPrivateKey());