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:
1cbea43
)
CRM-12133 - CRM_Core_BAO_OptionValue - Fix copy-paste error
author
CiviCRM
<info@civicrm.org>
Wed, 20 Mar 2013 12:43:04 +0000
(08:43 -0400)
committer
CiviCRM
<info@civicrm.org>
Wed, 20 Mar 2013 12:43:04 +0000
(08:43 -0400)
CRM/Core/BAO/OptionValue.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/OptionValue.php
b/CRM/Core/BAO/OptionValue.php
index b60ab664aed2d2ab9057163eb521b1d01cdfbd82..edc771bf333f87a8757eb3ec0dc8b9ffa6bba20e 100644
(file)
--- a/
CRM/Core/BAO/OptionValue.php
+++ b/
CRM/Core/BAO/OptionValue.php
@@
-78,7
+78,7
@@
class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue {
$params['name'] = $params['label'];
}
if(CRM_Utils_Array::value('weight', $params, NULL) === NULL){
- $params['weight'] = self::getDefault
Value
($params);
+ $params['weight'] = self::getDefault
Weight
($params);
}
if (CRM_Utils_Array::value('value', $params, NULL) === NULL){
$params['value'] = self::getDefaultValue($params);