Skip to content
Snippets Groups Projects
Verified Commit 9bb78de1 authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

dev/core#2178 Fix regression on adding contacts to a newly created group

parent cab604f3
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
* @copyright CiviCRM LLC https://civicrm.org/licensing * @copyright CiviCRM LLC https://civicrm.org/licensing
*/ */
class CRM_Group_Controller extends CRM_Core_Controller { class CRM_Group_Controller extends CRM_Core_Controller {
protected $entity = 'Contact';
/** /**
* Class constructor. * Class constructor.
...@@ -52,6 +53,7 @@ class CRM_Group_Controller extends CRM_Core_Controller { ...@@ -52,6 +53,7 @@ class CRM_Group_Controller extends CRM_Core_Controller {
// add all the actions // add all the actions
$this->addActions($uploadDir, $uploadNames); $this->addActions($uploadDir, $uploadNames);
$this->set('entity', $this->entity);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment