[TECH SUPPORT] LPS-43782 Stackoverflow when a user try to access a restricted article with a display page

Hi Ray,

I am sending you the pull based on the following discussion: https://in.liferay.com/web/global.engineering/forums/-/message_boards/message/2177554

It certainly solves the customer issue, however I wasn't able to prove it won't break anything else because I don't really know in which use-cases should p_j_a_id be considered. Could you please check the fix?

Thank you,
Ákos