tieupmedia / HwtTypo3HwtAddress

Modern Address extension for TYPO3
0 stars 3 forks source link

Task: Prevent usage of count(NULL) #3

Closed amtee closed 5 years ago

amtee commented 5 years ago

Hi,

there is a warning about usage of count on NULL. I removed that by assigning an empty array just before the if clauses.

Additionally I found some missing refactoring in in usage of $TCA and not $GLOBALS['TCA']

tieupmedia commented 5 years ago

Hello Marcel,

great, thanks a lot for your input and fix suggestion!

I implemented it with own commits slightly different, to keep the history clean and make it one more time compatible for the older branch for TYPO3 7.x-8.x

Best regards!