| @@ 619-625 (lines=7) @@ | ||
| 616 | ) |
|
| 617 | ->execute(); |
|
| 618 | $this->nextLevel = 0; |
|
| 619 | if ($row = $queryResult->fetch()) { |
|
| 620 | $this->versionOL($row); |
|
| 621 | if (is_array($row)) { |
|
| 622 | $this->processTemplate($row, 'sys_' . $row['uid'], $this->absoluteRootLine[$a]['uid'], 'sys_' . $row['uid']); |
|
| 623 | $this->outermostRootlineIndexWithTemplate = $a; |
|
| 624 | } |
|
| 625 | } |
|
| 626 | } |
|
| 627 | ||
| 628 | $where = [ |
|
| @@ 650-656 (lines=7) @@ | ||
| 647 | ->addOrderBy('sorting') |
|
| 648 | ->setMaxResults(1) |
|
| 649 | ->execute(); |
|
| 650 | if ($row = $queryResult->fetch()) { |
|
| 651 | $this->versionOL($row); |
|
| 652 | if (is_array($row)) { |
|
| 653 | $this->processTemplate($row, 'sys_' . $row['uid'], $this->absoluteRootLine[$a]['uid'], 'sys_' . $row['uid']); |
|
| 654 | $this->outermostRootlineIndexWithTemplate = $a; |
|
| 655 | } |
|
| 656 | } |
|
| 657 | $this->rootLine[] = $this->absoluteRootLine[$a]; |
|
| 658 | } |
|
| 659 | ||