Fix undefined index
authorColeman Watts <coleman@civicrm.org>
Wed, 26 Feb 2014 16:49:37 +0000 (11:49 -0500)
committerColeman Watts <coleman@civicrm.org>
Wed, 26 Feb 2014 16:49:37 +0000 (11:49 -0500)
This function doesn't seem to do anything and throws an undefined index warning. Linking cases seems to work fine without it.

CRM/Case/Form/Activity/LinkCases.php

index 29c4d9d39e0eaaaa1a03b71670d567aeca93d8dc..d976b3373617c56f57365968767310161063f5e3 100644 (file)
@@ -112,9 +112,7 @@ class CRM_Case_Form_Activity_LinkCases {
    *
    * @return void
    */
-  static function beginPostProcess(&$form, &$params) {
-    $params['id'] = $params['case_id'];
-  }
+  static function beginPostProcess(&$form, &$params) {}
 
   /**
    * Function to process the form