X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FOptionGroup.php;h=66ab0bade0aecbd8178ffcfca254dad13dc7d01b;hb=f0985b2635377b0e02d204d5adf872fce4997758;hp=9a9c9bb8ca09801c2363b49f4b253084f2abc58b;hpb=a4a3348656e9bd55d1ba0b0ab886e1c64501ace6;p=civicrm-core.git diff --git a/CRM/Core/OptionGroup.php b/CRM/Core/OptionGroup.php index 9a9c9bb8ca..66ab0bade0 100644 --- a/CRM/Core/OptionGroup.php +++ b/CRM/Core/OptionGroup.php @@ -372,7 +372,7 @@ WHERE v.option_group_id = g.id * @static * * @return string the value from the row where is_default = true - */ + */ static function getDefaultValue($groupName) { if (empty($groupName)) { return NULL; @@ -394,7 +394,7 @@ WHERE v.option_group_id = g.id $p = array(1 => array($groupName, 'String')); return CRM_Core_DAO::singleValueQuery($query, $p); } - + /** * Creates a new option group with the passed in values * @TODO: Should update the group if it already exists intelligently, so multi-lingual is