return CRM_Import_Parser::ERROR;
}
- $params = &$this->getActiveFieldParams();
+ $params = $this->getActiveFieldParams();
$errorMessage = NULL;
//To check whether start date or join date is provided
return $response;
}
- $params = &$this->getActiveFieldParams();
+ $params = $this->getActiveFieldParams();
//assign join date equal to start date if join date is not provided
if (empty($params['join_date']) && !empty($params['membership_start_date'])) {
* @return int|string|null
* Returns the key, which could be an int or a string, or NULL on failure.
*/
- public static function key($value, &$list) {
+ public static function key($value, $list) {
if (is_array($list)) {
$key = array_search($value, $list);