How to duplicate bug: Activate the core profile module. Create custom categories and fields. Go to .../user/*/edit/My Category

The fieldset "Bible settings" is visible on all categories. This should only be visible on the main ...user/*/edit page

Thanks.

Comments

MikeLee_Birdy’s picture

Dear John:
Thanks. I've found this bug. I'll fix in next version. If you do need to fix now, please change codes after line 355:

		case 'form':
			if ($category == 'account') {
			  $form['bible'] = array(
			    '#type' => 'fieldset',
			    '#title' => t('Bible settings'),
			    '#weight' => 10,
			  );
			  $biblelist = _bible_get_bible_list();
			  $biblelist[-1] = t('[By System Default]');
			  ksort($biblelist);
			  $form['bible']['defaultbible'] = array(
			    '#type' => (count($biblelist) <= 5 ? 'radios' : 'select'),
			    '#title' => t('Default Bible'),
			    '#default_value' => _bible_get_select_bid(),
			    '#options' => $biblelist,
			    '#description' => t("Select user default bible."),
			  );
			  return $form;
		  }
		break;

MikeLee

Kriss-dupe’s picture

Status: Active » Fixed

Been here too long, clearing up for efficiency.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.