<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
* @return void
*/
public function buildQuickForm() {
+ $this->applyFilter('__ALL__', 'trim');
// Details of User
$name = &$this->add('text',
'from_name',
);
$email->freeze();
- $this->addWysiwyg('suggested_message', ts('Your Message'), CRM_Core_DAO::getAttribute('CRM_Friend_DAO_Friend', 'suggested_message'));
+ $this->add('wysiwyg', 'suggested_message', ts('Your Message'), CRM_Core_DAO::getAttribute('CRM_Friend_DAO_Friend', 'suggested_message'));
$friend = array();
$mailLimit = self::NUM_OPTION;
if ($this->_entityTable == 'civicrm_pcp') {