Minor - fixing PHP warnings.
Minor - fixing PHP warnings.
Using active IN (0, 1) instead of active = 1 to keep BC see BT#7311