Skip to content

Commit

Permalink
JsonFormatter - format register branches fix
Browse files Browse the repository at this point in the history
  • Loading branch information
petaak committed Dec 5, 2015
1 parent f4e7d89 commit d395262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UlozenkaLib/APIv3/Formatter/JsonFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ private function proccessTransportServiceBranchesResponseData($dataObject)
$register = [];
$registerResponseJsonAttr = $this->getJsonAttr($dataObject, BranchAttr::RESPONSE_REGISTER);
if (!empty($registerResponseJsonAttr)) {
foreach ($registerResponseJson as $singleRegister) {
foreach ($registerResponseJsonAttr as $singleRegister) {
// register branch specific information
$rbDestinationsJsonAttr = $this->getJsonAttr($singleRegister, BranchAttr::RB_DESTINATIONS);
if (!empty($rbDestinationsJsonAttr)) {
Expand Down

0 comments on commit d395262

Please sign in to comment.