Function _checkSubscription was commented and isSubscribed function cause a notice because empty array value was addressed.
It would be advised to add unit tests for these methods. If they had existed, this bug would not have been necessary. I wanted to add the tests, but had some troubles running them. My employer would not be happy if I spent hours getting this to run, so I dropped this.
Function _checkSubscription was commented and isSubscribed function cause a notice because empty array value was addressed.
It would be advised to add unit tests for these methods. If they had existed, this bug would not have been necessary. I wanted to add the tests, but had some troubles running them. My employer would not be happy if I spent hours getting this to run, so I dropped this.