vesta-webtrees-2-custom-modules/vesta_personal_facts

Sidebar facts not shown in tab if sidebar is hidden

ric2016 opened this issue · 1 comments

This is due to supportedFacts() method defined in both tab and sidebar interfaces.
So even if sidebar isn't accessible, the method is called via tab interface.
We have to re-check the access level to provide the proper list of supported facts in each case (tricky because we don't have the $tree in the context of supportedFacts()). Better option would be to have differently named methods per interface.

(was fixed in one of the 2.0.15.x releases)