Check if Any Filesets Exist
Permalink
I am working on a front-end block where filesets are used. I am having trouble with this one. I need to check if there are any filesets. If non exist, do something else.
Currently, I am getting this error on the front-end view:
The idea here is to prevent this error from happening, as it is caused when there are no filesets defined.
Currently, I am getting this error on the front-end view:
Call to a member function getFileSetID() on a non-object
The idea here is to prevent this error from happening, as it is caused when there are no filesets defined.