Fixes #3515 PHP Warning for non-featured campaign galleries
Merge pull request #3516 from aaronschachter/php_rules

Campaign Gallery PHP Warning fix