From 51479855537e3fabf3398957dde5bffd50685384 Mon Sep 17 00:00:00 2001 From: Tim Mallezie Date: Tue, 31 Mar 2015 09:32:18 +0200 Subject: [PATCH] cleanup File in schema --- CRM/Contact/Form/Contact.php | 2 +- xml/schema/Contact/Contact.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index b580b76a48..20bbbe39d8 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -818,7 +818,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { CRM_Contact_Form_Location::buildQuickForm($this); // add attachment - $this->addField('image_URL', array('type' => 'File', 'size' => '30', 'maxlength' => '60', 'label' => ts('Browse/Upload Image'))); + $this->addField('image_URL', array('maxlength' => '60', 'label' => ts('Browse/Upload Image'))); // add the dedupe button $this->addElement('submit', diff --git a/xml/schema/Contact/Contact.xml b/xml/schema/Contact/Contact.xml index f90a154c0b..d8c78e8d36 100644 --- a/xml/schema/Contact/Contact.xml +++ b/xml/schema/Contact/Contact.xml @@ -272,7 +272,8 @@ optional URL for preferred image (photo, logo, etc.) to display for this contact. 1.1 - Text + File + BIG -- 2.25.1