Issue Bug Closed

#33761Remove early return in pagetree to be able to use hook

Georg Ringer 02/08/12, 10:24 updated 10/02/18, 12:19

Description

t3lib_tree_pagetree_DataProvider got some nice hooks to modify the pagetree pages/nodes.

however, there is an early return in function getNodes() which makes it impossible to use the hook postProcessGetNodes for pages which got subpages but are not opened currently.

solution:
invert the check and move on to the hook

Reviews 1