CRM-17990 - Import Event Participants Error
authorSaurabh Batra <saurabh.batra96@gmail.com>
Fri, 12 Feb 2016 13:42:22 +0000 (19:12 +0530)
committerSaurabh Batra <saurabh.batra96@gmail.com>
Fri, 12 Feb 2016 13:42:22 +0000 (19:12 +0530)
https://issues.civicrm.org/jira/browse/CRM-17990

CRM/Contact/Import/Parser/Contact.php

index a535696048a315c73875c242ae3cafb14f32e1b8..1b1f83e2cccc0990346b3a6fc9f50dc80b2a4dee 100644 (file)
@@ -1606,7 +1606,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser {
    *
    * @return bool
    */
-  public function in_value($value, $valueArray) {
+  public static function in_value($value, $valueArray) {
     foreach ($valueArray as $key => $v) {
       //fix for CRM-1514
       if (strtolower(trim($v, ".")) == strtolower(trim($value, "."))) {