Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/11/2015 08:17:53 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Sniffer: Whitespace around variables in arrays.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/converters/e107v1.php

    r5829 r5908  
    567567                $field = preg_replace( '/(\d+?)+\.[\S\s]+/', '$1', $field );
    568568
    569                 if ( ! isset( $this->map_userid[$field] ) ) {
     569                if ( ! isset( $this->map_userid[ $field ] ) ) {
    570570                        if ( ! empty( $this->sync_table ) ) {
    571571                                $row = $this->wpdb->get_row( $this->wpdb->prepare( 'SELECT value_id, meta_value FROM ' . $this->sync_table_name . ' WHERE meta_key = "_bbp_old_user_id" AND meta_value = "%s" LIMIT 1', $field ) );
     
    575575
    576576                        if ( !is_null( $row ) ) {
    577                                 $this->map_userid[$field] = $row->value_id;
     577                                $this->map_userid[ $field ] = $row->value_id;
    578578                        } else {
    579579                                if ( ! empty( $_POST['_bbp_converter_convert_users'] ) && ( $_POST['_bbp_converter_convert_users'] == 1 ) ) {
    580                                         $this->map_userid[$field] = 0;
     580                                        $this->map_userid[ $field ] = 0;
    581581                                } else {
    582                                         $this->map_userid[$field] = $field;
     582                                        $this->map_userid[ $field ] = $field;
    583583                                }
    584584                        }
    585585                }
    586                 return $this->map_userid[$field];
     586                return $this->map_userid[ $field ];
    587587        }
    588588
Note: See TracChangeset for help on using the changeset viewer.