civicrm/civicrm-core — pull request #3448 by NileemaJadhav (2014-06-06 15:42:39+00:00)
Title: --Fix notices on Activities report

If any component is disabled then Activities report shows lots of notices for undefined index, as it fetches activities related to types mentioned for disabled component.
Here it is checking that the related activities are of enabled activity type.