CRM-13793 cleanup - assignment in condition, changed to test for
authorJoe Murray <joe.murray@jmaconsulting.biz>
Tue, 19 Nov 2013 16:05:46 +0000 (11:05 -0500)
committerJoe Murray <joe.murray@jmaconsulting.biz>
Tue, 19 Nov 2013 16:05:46 +0000 (11:05 -0500)
equality

CRM/Campaign/Page/AJAX.php

index eb36cfab6c8b256fce949ac127b3dbdfb254af1c..684b4988f906804d64bd5aa2d3a933b9ee3652f3 100644 (file)
@@ -291,7 +291,7 @@ class CRM_Campaign_Page_AJAX {
     );
 
     $extraVoterColName = 'is_interview_conducted';
-    if ($params['campaign_search_voter_for'] = 'reserve') {
+    if ($params['campaign_search_voter_for'] == 'reserve') {
       $extraVoterColName = 'reserve_voter';
     }