minDescription being forced due to faulty condition
Closed this issue · 1 comments
fjacobi commented
Hej, during an upgrade I just ran into this issue.
https://github.com/clickstorm/cs_seo/blob/main/Configuration/TCA/Overrides/pages.php#L16
The field is a boolean, so it's never empty?
mhirdes commented
For me it works. Can you check it again?
https://www.php.net/manual/en/function.empty.php
Returns true if var does not exist or has a value that is empty or equal to zero, aka falsey, see conversion to boolean. Otherwise returns false.