X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCampaign%2FController%2FSearch.php;h=520c3f9442b73eb44f0b79c06136eae532e422fb;hb=d1eed91c218f4c285a535275e36732f68463824b;hp=8089ddd23fc371c3d73d628a30d1e320bea89836;hpb=35027fdbec97bdee52ea4aab76cac5091e32a6fe;p=civicrm-core.git diff --git a/CRM/Campaign/Controller/Search.php b/CRM/Campaign/Controller/Search.php index 8089ddd23f..520c3f9442 100644 --- a/CRM/Campaign/Controller/Search.php +++ b/CRM/Campaign/Controller/Search.php @@ -28,6 +28,8 @@ */ class CRM_Campaign_Controller_Search extends CRM_Core_Controller { + protected $entity = 'Campaign'; + /** * Class constructor. * @@ -45,8 +47,8 @@ class CRM_Campaign_Controller_Search extends CRM_Core_Controller { $this->addPages($this->_stateMachine, $action); // add all the actions - $config = CRM_Core_Config::singleton(); $this->addActions(); + $this->set('entity', $this->entity); } }