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

CRM-14125 - Joining a group from the user dashboard throws a fatal error IF...

CRM-14125 - Joining a group from the user dashboard throws a fatal error IF assigned activities pane is enabled

http://issues.civicrm.org/jira/browse/CRM-14125
parent 2ff3eaad
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