Set 0 to the -select- option instead of empty string.
function getProgressBars() {
$options = array(
- '' => ts('- select -'),
+ 0 => ts('- select -'),
);
$pbList = CRM_Wci_BAO_ProgressBar::getProgressbarList();
foreach ($pbList as $pb) {
*/
function getGroupOptions() {
$options = array(
- '' => ts('- select -'),
+ 0 => ts('- select -'),
);
$result = civicrm_api3('group', 'get', array(
function getContributionPageOptions() {
$options = array(
- '' => ts('- select -'),
+ 0 => ts('- select -'),
);
$result = civicrm_api3('contribution_page', 'get');