Changeset 4880
- Timestamp:
- 07/28/2011 01:20:16 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-template.php
r4869 r4880 154 154 global $bp, $profile_template; 155 155 156 // Only show empty fields if we're on the Dashboard, or on a user's profile edit page 157 $hide_empty_fields = ( !is_network_admin() && !is_admin() && !bp_is_user_profile_edit() ); 156 // Only show empty fields if we're on the Dashboard, or we're on a user's profile edit page, 157 // or this is a registration page 158 $hide_empty_fields = ( !is_network_admin() && !is_admin() && !bp_is_user_profile_edit() && !bp_is_register_page() ); 158 159 159 160 $defaults = array(
Note: See TracChangeset
for help on using the changeset viewer.