projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e79df4f
)
CRM-16360 - Don't show id field when creating/editing activity types
author
Coleman Watts
<coleman@civicrm.org>
Sun, 26 Apr 2015 17:19:32 +0000
(11:19 -0600)
committer
Coleman Watts
<coleman@civicrm.org>
Sun, 26 Apr 2015 17:19:32 +0000
(11:19 -0600)
CRM/Admin/Form/Options.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Admin/Form/Options.php
b/CRM/Admin/Form/Options.php
index 3c92c0bcc95718f7ff5375a319aac36c1c2672a4..0a1925082592db984d2ccde0f3f7a48afdac9ec9 100644
(file)
--- a/
CRM/Admin/Form/Options.php
+++ b/
CRM/Admin/Form/Options.php
@@
-171,12
+171,14
@@
class CRM_Admin_Form_Options extends CRM_Admin_Form {
TRUE
);
- $this->add('text',
- 'value',
- ts('Value'),
- CRM_Core_DAO::getAttribute('CRM_Core_DAO_OptionValue', 'value'),
- TRUE
- );
+ if ($this->_gName != 'activity_type') {
+ $this->add('text',
+ 'value',
+ ts('Value'),
+ CRM_Core_DAO::getAttribute('CRM_Core_DAO_OptionValue', 'value'),
+ TRUE
+ );
+ }
if (!in_array($this->_gName, array(
'email_greeting',