PHP warning fixes
Created by: rajeshrhino
- Fixed PHP warnings
- Added new hook to be called before the contact is anonymized
Hook Definition: hook_civicrm_gdpr_alterAnonymizeContactParams(&$params)
Hook Parameters: array $params - contact parameters that were sent into the calling function
Example: $params = Array
(
[sequential] => 1
[id] => 264210
[last_name] => Anonymous
)