@@ 462-466 (lines=5) @@ | ||
459 | ||
460 | // Check to see if an old list was deleted. |
|
461 | $oldMatch = $this->getArrayByColumnValue($this->textMatches, 'old', $index['position']); |
|
462 | if ($oldMatch && $oldMatch['new'] === null) { |
|
463 | $newList = ''; |
|
464 | $oldList = $this->getListByMatch($oldMatch, 'old'); |
|
465 | $this->content .= $this->addListElementToContent($newList, $oldList, $oldMatch, $index, 'old'); |
|
466 | } |
|
467 | ||
468 | $match = $this->getArrayByColumnValue($this->textMatches, 'new', $index['position']); |
|
469 | $newList = $this->childLists['new'][$match['new']]; |
|
@@ 485-489 (lines=5) @@ | ||
482 | if ($oldKey > $key) { |
|
483 | if ($oldIndex['type'] == 'list') { |
|
484 | $oldMatch = $this->getArrayByColumnValue($this->textMatches, 'old', $oldIndex['position']); |
|
485 | if ($oldMatch && $oldMatch['new'] === null) { |
|
486 | $newList = ''; |
|
487 | $oldList = $this->getListByMatch($oldMatch, 'old'); |
|
488 | $this->content .= $this->addListElementToContent($newList, $oldList, $oldMatch, $oldIndex, 'old'); |
|
489 | } |
|
490 | } else { |
|
491 | $this->content .= $this->addContentElementsToContent($oldKey); |
|
492 | } |