vesta-webtrees-2-custom-modules / vesta_shared_places

⚶ Vesta Shared Places (Webtrees 2 Custom Module)
https://cissee.de/
GNU General Public License v3.0
13 stars 3 forks source link

Undefined Method: Filter::escapeHTML in SharedPlacedModule.php #5

Closed terrymgray closed 5 years ago

terrymgray commented 5 years ago

PHP error: Call to undefined method Fisharebest\Webtrees\Filter::escapeHtml() …\modules_v4\vesta_shared_places\SharedPlacesModule.php:258

I have both the custom Vesta 'Facts and Events' and 'Shared Places' modules installed. Issue arises when Shared Places Module is enabled and Preferences tick-box is set to 'Restrict to Specific Facts and Events' - see screenshort. NB: the issue is not seen if the tick-box is deselected.

error.log

preferences

Running webtrees 2 (beta 4)

Side Note: May be useful to prevent user from selecting 'Specific facts and events' tick-box where no Gedcom fact types are selected as this causes a PHP error

ric2016 commented 5 years ago

Thank you for the detailed report - I could reproduce and fix both bugs easily. Release to follow.