[buddypress-trac] [BuddyPress] #3041: Component Settings Cannot Save

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Feb 1 15:44:20 UTC 2011


#3041: Component Settings Cannot Save
------------------------+-----------------------------
 Reporter:  johnpbloch  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  normal      |  Milestone:  Awaiting Review
Component:  Core        |    Version:  1.3
 Keywords:              |
------------------------+-----------------------------
 Because of the way the code handles disabling components, it will not save
 disabled components. It tries to check if the submitted value for the
 component's checkbox does not equal 1; unfortunately, browsers do not send
 a value at all for checkboxes that aren't checked. So if I'm trying to
 disable the forum component, for example, the $_POST['bp_components']
 array simply does not contain an item with the key 'bp-forums.php'. Will
 attach a patch momentarily.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3041>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list