Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#5286 closed defect (bug) (fixed)

editing xprofile field visibility setting causes undefined variable warnings

Reported by: DJPaul Owned by: djpaul
Priority: normal Milestone: 1.9
Component: Extended Profile Version:
Severity: major Keywords:
Cc: graham-washbrook

Description (last modified by DJPaul)

On a user's profile edit screen, the radio buttons that control the field visibility aren't having their form ID/values being set correctly due to a renamed variable introduced in r7617. This is causing PHP notices about unset variables.

Change History (4)

#1 @DJPaul
13 years ago

  • Cc graham-washbrook added

#2 @DJPaul
13 years ago

  • Description modified (diff)
  • Summary xprofile fields don't select existing visibility setting on user edit screen → editing xprofile field visibility setting causes undefined variable warnings

#3 @DJPaul
13 years ago

I misread the consequences of the bug initially, so I've edited the ticket for accuracy.

#4 @djpaul
13 years ago

  • Owner set to djpaul
  • Resolution → fixed
  • Status new → closed

In 7655:

xprofile: fix undefined variable notice when changing a profile field's visibility setting.

r7617 introduced a bug where the wrong variable was being referenced, causing a PHP notice, and breaking the edit form. Props graham-washbrook, fixes #5286

Note: See TracTickets for help on using tickets.