Fixing notice in categories finder plugin #5314
This fixes a notice when trashing a category and all finder plugins are enabled.
How to test
Thanks @infograf768 for this bug report.
I honestly don't know what this code should do. I just changed it to remove the notices. However, it seems as if this is not correct the way this is written. It seems to always use the parent categories state for the state of the actual item...