bobosch / ods_osm

TYPO3 Extension OpenStreetMap
10 stars 22 forks source link

Fix exception if extension configuration is not present #130

Closed albig closed 1 year ago

albig commented 1 year ago

Fix #129

If no extension configuration is present, rendering will fail with an exception. With PHP 8.2 it will fail already in Div::getConfig(). With PHP 7.4 this will happen later.

This fix makes sure, that an empty array is returned, if no extension configuration is available.