From: Donald A. Lobo Date: Sat, 25 Jan 2014 01:50:50 +0000 (-0800) Subject: CRM-14125 - Joining a group from the user dashboard throws a fatal error IF assigned... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=27c7a314adfaed52ce161db8d407574483bae6ce;p=civicrm-core.git 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 --- 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');