From 9824c342927d558a876269e2de6bc81bc9b19b6f Mon Sep 17 00:00:00 2001 From: Tim Mallezie Date: Mon, 4 May 2015 08:12:33 +0200 Subject: [PATCH] codestyle issues --- CRM/Contact/Form/Relationship.php | 3 +-- CRM/Core/Form.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index cf53a1b90f..418916cfda 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -338,8 +338,7 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { $this->addField('relationship_type_id', array('options' => array('' => ts('- select -')) + $relationshipList, 'class' => 'huge', 'placeholder' => '- select -'), TRUE); $label = $this->_action & CRM_Core_Action::ADD ? ts('Contact(s)') : ts('Contact'); - $contactField = $this->addField('related_contact_id', array('label' => $label, 'name' => 'contact_id_b', 'multiple' => TRUE, - 'create' => TRUE,), TRUE); + $contactField = $this->addField('related_contact_id', array('label' => $label, 'name' => 'contact_id_b', 'multiple' => TRUE, 'create' => TRUE), TRUE); // This field cannot be updated if ($this->_action & CRM_Core_Action::UPDATE) { $contactField->freeze(); diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index ae820a4230..2b8e9ea9c7 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -1276,7 +1276,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { //TODO: add range support //TODO: Add date formats //TODO: Add javascript template for dates. - $this->addDate($name, $label, $required, $props); + $this->addDate($name, $label, $required, $props); break; case 'Radio': -- 2.25.1