Index: RootlineUtility.php =================================================================== --- RootlineUtility.php (Revision 398) +++ RootlineUtility.php (Arbeitskopie) @@ -266,7 +266,7 @@ } } $whereClause = implode(' AND ', $whereClauseParts); - $whereClause .= $this->pageContext->deleteClause($table); + $whereClause .= $this->pageContext->enableFields($table); $rows = $this->databaseConnection->exec_SELECTgetRows('uid', $table, $whereClause); if (!is_array($rows)) { throw new \RuntimeException('Could to resolve related records for page ' . $uid . ' and foreign_table ' . htmlspecialchars($configuration['foreign_table']), 1343589452);