Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#5286 closed defect (bug) (fixed)

editing xprofile field visibility setting causes undefined variable warnings

Reported by: djpaul's profile DJPaul Owned by: djpaul's profile djpaul
Milestone: 1.9 Priority: normal
Severity: major Version:
Component: Extended Profile 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
10 years ago

  • Cc graham-washbrook added

#2 @DJPaul
10 years ago

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

#3 @DJPaul
10 years ago

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

#4 @djpaul
10 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to 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.