#17460pi_getPidList selects pages that it shouldn't
Description
Let’s have such page tree:
- 1
—- 2 (hidden)
———> 3
———> 4
—- 5
—- 6
Now, calling pi_getPidList(1,100) will result in 1,3,4,5,6. Although 3 and 4 shouldn’t be visible.
I guess that $this->enableFields(‘pages’) should be called in SQL queries in tslib_content::getTreeList.
(issue imported from #M6005)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.