From 27c7a314adfaed52ce161db8d407574483bae6ce Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Fri, 24 Jan 2014 17:50:50 -0800 Subject: [PATCH] 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 --- CRM/Activity/Page/UserDashboard.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CRM/Activity/Page/UserDashboard.php b/CRM/Activity/Page/UserDashboard.php index 1232b03fd5..2d3effaea3 100644 --- a/CRM/Activity/Page/UserDashboard.php +++ b/CRM/Activity/Page/UserDashboard.php @@ -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'); -- 2.25.1