$selectAttributes = ['class' => 'crm-select2', 'placeholder' => TRUE];
if ($fieldName == 'image_URL' && $mode == CRM_Profile_Form::MODE_EDIT) {
- $deleteExtra = json_encode(ts('Are you sure you want to delete contact image.'));
+ $deleteExtra = json_encode(ts('Are you sure you want to delete the contact image?'));
$deleteURL = [
CRM_Core_Action::DELETE => [
'name' => ts('Delete Contact Image'),
*
* @return array
*/
- public function checkFieldsEmptyValues($gid, $cid, $params, $skipCheck = FALSE) {
+ public static function checkFieldsEmptyValues($gid, $cid, $params, $skipCheck = FALSE) {
if ($gid) {
if (CRM_Core_BAO_UFGroup::filterUFGroups($gid, $cid) || $skipCheck) {
$values = [];