CRM-14125 - Joining a group from the user dashboard throws a fatal error IF assigned...
authorDonald A. Lobo <lobo@civicrm.org>
Sat, 25 Jan 2014 01:50:50 +0000 (17:50 -0800)
committerDonald A. Lobo <lobo@civicrm.org>
Sat, 25 Jan 2014 01:50:50 +0000 (17:50 -0800)
http://issues.civicrm.org/jira/browse/CRM-14125

CRM/Activity/Page/UserDashboard.php

index 1232b03fd5a6880c1728eea566f927bf3fdd8f0e..2d3effaea3ce5869a9a194b87a4a4214b5bb916b 100644 (file)
@@ -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');