If you use the AND operator, the $has_term variable is undefined and will throw an error and always evaluate to FALSE.

Comments

cpliakas’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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