When a user tries to subscribe/unsubscribe to any node not associated with taxonomy terms, a PHP error is thrown reg. the illegal foreach loop.

Comments

jazzitup created an issue. See original summary.

jazzitup’s picture

Status: Active » Needs review
StatusFileSize
new1.55 KB

This patch should fix it.

jazzitup’s picture

StatusFileSize
new899 bytes

Fixing a patch by removing changes from the previous patch. :)

deepakaryan1988’s picture

Thanks @jazzitup for this patch.
I will review it and merge it. :)

jazzitup’s picture

Great! I've spotted those PHP errors on those two lines of code, but I probably missed a few other spots (that would be triggered in some other/similar scenario).

deepakaryan1988’s picture

Status: Needs review » Fixed

Merged with dev branch!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.