Skip to content
Snippets Groups Projects
Commit c192fbee authored by lobo's avatar lobo
Browse files

Merge pull request #2412 from dlobo/CRM-14125

CRM-14125 - Joining a group from the user dashboard throws a fatal error...
parents 2ff3eaad 27c7a314
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,12 @@ class CRM_Activity_Page_UserDashboard extends CRM_Contact_Page_View_UserDashBoar
*/
function listActivities() {
$controller = new CRM_Core_Controller_Simple('CRM_Activity_Form_Search', ts('Activities'));
$controller =
new CRM_Core_Controller_Simple(
'CRM_Activity_Form_Search', ts('Activities'),
NULL,
FALSE, FALSE, TRUE, FALSE
);
$controller->setEmbedded(TRUE);
$controller->reset();
$controller->set('context', 'user');
......
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