PHP will throw a warning when using the "Add terms" bulk modal form if the $parents var is null.
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /app/web/modules/contrib/taxonomy_manager/src/TaxonomyManagerHelper.php on line 49
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | taxonomy_manager-dev-parameter-count-3025793-3.patch | 590 bytes | aisforaaron |
| #2 | taxonomy_manager-alpha2-parameter-count-3025793-2.patch | 590 bytes | aisforaaron |
Comments
Comment #2
aisforaaron commentedI changed count() to !empty().
Comment #3
aisforaaron commentedThe same patch against dev branch.
Comment #4
sergiu stici commentedThe patch #3 works for me, thanks.
Comment #5
ericdsd commentedpatch #3 works for me too
Comment #7
vladimirausComment #8
vladimirausAlready fixed for branch
2.0.x