#85229Invalid condition in suggest receiver page collection
Description
An invalid condition was introduced in getAllSubpagesOfPage() in the SuggestWizardDefaultReceiver in #77049:
$rows = array_column(($rows ?: []), 'uid', 'uid');
if (!count($rows)) {
$pageIds = array_keys($rows);
$pages = array_merge($pages, $pageIds);
} else {
break;
}
The loop quits when there are no results!
Hint for testing
The error is only relevant when a custom recursive PID list is used:
TCEFORM.pages.content_from_pid.suggest.default {
pidList = 12
pidDepth = 99
}