Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/19/2012 06:58:22 PM (14 years ago)
Author:
boonebgorges
Message:

Ensures that display:none is only set on the correct field types on xprofile field admin

Fixes #4363

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r6187 r6188  
    728728                        }
    729729
    730                         if ( $this->type != $type ) {
    731                                 $class = 'display: none;';
    732                         }
     730                        $class = $this->type != $type ? 'display: none;' : '';
    733731
    734732                        if ( empty( $this->default_visibility ) ) {
Note: See TracChangeset for help on using the changeset viewer.