X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FTag.php;h=e1c9a276be5f47fda98de0762e8781ad6df4484e;hb=d25dd0ee5e47188c3ea9ad2918f627cfac97ddbd;hp=f3dce6a01fd923d20d96bceace486b7b826fdf69;hpb=d3c71b2f4fb869348bdaf270fc02fdc4f29b8641;p=civicrm-core.git diff --git a/CRM/Admin/Form/Tag.php b/CRM/Admin/Form/Tag.php index f3dce6a01f..e1c9a276be 100644 --- a/CRM/Admin/Form/Tag.php +++ b/CRM/Admin/Form/Tag.php @@ -1,7 +1,7 @@ setPageTitle($this->_isTagSet ? ts('Tag Set') : ts('Tag')); @@ -81,7 +80,7 @@ class CRM_Admin_Form_Tag extends CRM_Admin_Form { $selectable = $this->add('checkbox', 'is_selectable', ts('Selectable?')); // Selectable should be checked by default when creating a new tag if ($this->_action == CRM_Core_Action::ADD) { - $selectable->setValue(1); + $selectable->setValue(1); } } @@ -93,7 +92,10 @@ class CRM_Admin_Form_Tag extends CRM_Admin_Form { $this->add('text', 'name', ts('Name'), CRM_Core_DAO::getAttribute('CRM_Core_DAO_Tag', 'name'), TRUE ); - $this->addRule('name', ts('Name already exists in Database.'), 'objectExists', array('CRM_Core_DAO_Tag', $this->_id)); + $this->addRule('name', ts('Name already exists in Database.'), 'objectExists', array( + 'CRM_Core_DAO_Tag', + $this->_id, + )); $this->add('text', 'description', ts('Description'), CRM_Core_DAO::getAttribute('CRM_Core_DAO_Tag', 'description') @@ -129,7 +131,6 @@ class CRM_Admin_Form_Tag extends CRM_Admin_Form { /** * Process the form submission * - * @access public * * @return void */ @@ -173,4 +174,3 @@ class CRM_Admin_Form_Tag extends CRM_Admin_Form { } } -