hendrikreimers / TYPO3-content_designer

0 stars 2 forks source link

Check for valid table and/or CType to avoid errors #12

Closed leitgab closed 7 years ago

leitgab commented 7 years ago

The hook is called for tables other than tt_content too, e.g. for Storages. Because the hook is based on the field CType (tt_content only) this leads to an error. This fix checks for valid settings beforehand.

jfschubert commented 7 years ago

This will fix #8 .