CRM-15342 - Fix survey type options link
authorColeman Watts <coleman@civicrm.org>
Sun, 21 Sep 2014 19:58:20 +0000 (15:58 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 21 Sep 2014 19:58:20 +0000 (15:58 -0400)
CRM/Campaign/Form/Survey/Main.php

index 2f94053f424aa7d296af16a559c28a642febcc8f..90f169808189c0e1d972ff8791f04fdd87b7096c 100644 (file)
@@ -157,7 +157,7 @@ class CRM_Campaign_Form_Survey_Main extends CRM_Campaign_Form_Survey {
 
     $surveyActivityTypes = CRM_Campaign_BAO_Survey::getSurveyActivityType();
     // Activity Type id
-    $this->addSelect('activity_type_id', array(), TRUE);
+    $this->addSelect('activity_type_id', array('option_url' => 'civicrm/admin/campaign/surveyType'), TRUE);
 
     // Campaign id
     $campaigns = CRM_Campaign_BAO_Campaign::getCampaigns(CRM_Utils_Array::value('campaign_id', $this->_values));