Changeset 2576 for trunk/bp-core/bp-core-admin.php
- Timestamp:
- 02/03/2010 09:06:27 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-admin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-admin.php
r2480 r2576 11 11 12 12 // Settings form submitted, now save the settings. 13 foreach ( $_POST['bp-admin'] as $key => $value ) {13 foreach ( (array)$_POST['bp-admin'] as $key => $value ) { 14 14 15 15 if ( function_exists( 'xprofile_install' ) ) { … … 144 144 145 145 // Settings form submitted, now save the settings. 146 foreach ( $_POST['bp_components'] as $key => $value ) {146 foreach ( (array)$_POST['bp_components'] as $key => $value ) { 147 147 if ( !(int) $value ) 148 148 $disabled[$key] = 1;
Note: See TracChangeset
for help on using the changeset viewer.