add default option
add a 'select profile' default option
This commit is contained in:
parent
a868e87ba7
commit
fd99f3b24f
1 changed files with 3 additions and 0 deletions
|
@ -614,6 +614,9 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
|
|||
public static function getXCMProfiles() {
|
||||
if (!isset(static::$_xcm_profiles)) {
|
||||
if (method_exists('CRM_Xcm_Configuration', 'getProfileList')) {
|
||||
static::$_xcm_profiles = array(
|
||||
'' => E::ts("<select profile>"),
|
||||
);
|
||||
$profiles = CRM_Xcm_Configuration::getProfileList();
|
||||
foreach ($profiles as $profile_key => $profile_name) {
|
||||
static::$_xcm_profiles[$profile_key] = $profile_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue