Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/06/2023 11:51:53 PM (3 years ago)
Author:
espellcaste
Message:

PHPCS: adding space after an operator in a if statement.

Closes https://github.com/buddypress/buddypress/pull/45
See #7228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php

    r13392 r13393  
    107107        $html    = '<option value="">' . /* translators: no option picked in select box */ esc_html__( '----', 'buddypress' ) . '</option>';
    108108
    109         if ( empty( $original_option_values ) && !empty( $_POST[ 'field_' . $this->field_obj->id ] ) ) {
     109        if ( empty( $original_option_values ) && ! empty( $_POST[ 'field_' . $this->field_obj->id ] ) ) {
    110110            $original_option_values = sanitize_text_field(  $_POST[ 'field_' . $this->field_obj->id ] );
    111111        }
Note: See TracChangeset for help on using the changeset viewer.