Skip to content

Commit

Permalink
DO NOT MERGE Ensure BPD is available in execute()
Browse files Browse the repository at this point in the history
Should not merge this because of https://github.com/nemiah/phpFinTS/blob/4bd1cecf823aaa506e216131146b2a6c7304be9e/lib/Fhp/FinTs.php#L631-L633 and because I'm not sure this will work dialog-wise.
  • Loading branch information
Philipp91 committed Aug 6, 2024
1 parent 4bd1cec commit ffbf298
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Fhp/FinTs.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ public function execute(BaseAction $action)
if ($this->dialogId === null && !($action instanceof DialogInitialization)) {
throw new \RuntimeException('Need to login (DialogInitialization) before executing other actions');
}
if ($action instanceof PaginateableAction) {
$this->ensureBpdAvailable();
}

$requestSegments = $action->getNextRequest($this->bpd, $this->upd);

Expand Down

0 comments on commit ffbf298

Please sign in to comment.