Skip to content

Commit

Permalink
Merge pull request #3 from petaak/master
Browse files Browse the repository at this point in the history
JsonFormatter - format register branches fix
  • Loading branch information
Jaroslav Líbal committed Dec 5, 2015
2 parents f4e7d89 + d395262 commit d33f137
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 d33f137

Please sign in to comment.