$content['pay_mode_' . strtolower(getBegPayMode())] = ' selected="selected"';
// Init beg_mode elements
- foreach (array('direct', 'ref') as $entry) {
- $content['beg_mode_' . $entry] = '';
+ foreach (array('DIRECT', 'REFERAL') as $entry) {
+ $content['beg_mode_' . strtolower($entry)] = '';
} // END - foreach
// Set default mode