Rev 216 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 216 | Rev 227 | ||
---|---|---|---|
Line 525... | Line 525... | ||
525 | $arrOutput = self::xmlParse($body); |
525 | $arrOutput = self::xmlParse($body); |
526 | 526 | ||
527 | $revlogs = array(); |
527 | $revlogs = array(); |
528 | 528 | ||
529 | $array = array(); |
529 | $array = array(); |
- | 530 | if (!isset($arrOutput['children'])) $arrOutput['children'] = array(); |
|
530 | foreach ($arrOutput['children'] as $value) { |
531 | foreach ($arrOutput['children'] as $value) { |
531 | /* |
532 | /* |
532 | <S:log-item> |
533 | <S:log-item> |
533 | <D:version-name>164</D:version-name> |
534 | <D:version-name>164</D:version-name> |
534 | <S:date>2019-08-13T13:12:13.915920Z</S:date> |
535 | <S:date>2019-08-13T13:12:13.915920Z</S:date> |
Line 575... | Line 576... | ||
575 | $files = array(); |
576 | $files = array(); |
576 | $filesDelete = array(); |
577 | $filesDelete = array(); |
577 | $dirs = array(); |
578 | $dirs = array(); |
578 | $dirsDelete = array(); |
579 | $dirsDelete = array(); |
579 | 580 | ||
- | 581 | if (!isset($array['objects'])) $array['objects'] = array(); |
|
580 | foreach ($array['objects'] as $objects) { |
582 | foreach ($array['objects'] as $objects) { |
581 | // This section was completely changed by Daniel Marschall |
583 | // This section was completely changed by Daniel Marschall |
582 | if ($objects['type'] == "file") { |
584 | if ($objects['type'] == "file") { |
583 | if ($objects['action'] == "S:ADDED-PATH" || $objects['action'] == "S:MODIFIED-PATH") { |
585 | if ($objects['action'] == "S:ADDED-PATH" || $objects['action'] == "S:MODIFIED-PATH") { |
584 | self::xarray_add($objects['object_name'], $files); |
586 | self::xarray_add($objects['object_name'], $files); |