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
Merge pull request #2412 from dlobo/CRM-14125

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