Issue Bug Closed

#93393Tree Controller may return duplicate pagetypes

Tobias Wojtylak 02/01/21, 14:00 updated 02/23/21, 13:05

Description

We encountered the problem while using blog extensions.
We define the order of the pagetypes in our own extension via typoscript and since our customers create very often BlogPosts it is further up in the order. The extension itself adds the pageType via `addUserTSConfig` at the end of the order.
This gives us the same entry twice.

An array_unique call would help here

Reviews 3