CRM-13793 assignment has no effect error cleanup
CRM-13793 removed assignment in condition
fixed the {}
Merge pull request #2026 from JoeMurray/CRM-13793

CRM-13793 assignment has no effect error cleanup