#101243Fix in linkvalidator PagesRepository::doesRootLineContainHiddenPages
Description
PagesRepository::doesRootlineContainHiddenPages() calls itself. It fetches fields from the DB without “pid” and passes the results to itself, then checks the value of pid, but this is always empty.
42 public function doesRootLineContainHiddenPages(array $pageInfo): bool
43 {
44 $pid = (int)($pageInfo['pid'] ?? 0);
....
59 $row = $queryBuilder
60 ->select('uid', 'title', 'hidden', 'extendToSubpages')
....
72 return $this->doesRootLineContainHiddenPages($row);
Also, it is not necessary to get the title here