Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/14/2015 12:46:38 AM (10 years ago)
Author:
johnjamesjacoby
Message:

I think this building should be condemned. There's serious metal fatigue in all the load-bearing members, the wiring is substandard, it's completely inadequate for our power needs, and the neighborhood is like a demilitarized zone.

File:
1 edited

Legend:

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

    r5770 r5829  
    567567        $field = preg_replace( '/(\d+?)+\.[\S\s]+/', '$1', $field );
    568568
    569         if ( !isset( $this->map_userid[$field] ) ) {
    570             if ( !empty( $this->sync_table ) ) {
     569        if ( ! isset( $this->map_userid[$field] ) ) {
     570            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 ) );
    572572            } else {
     
    577577                $this->map_userid[$field] = $row->value_id;
    578578            } else {
    579                 if ( !empty( $_POST['_bbp_converter_convert_users'] ) && ( $_POST['_bbp_converter_convert_users'] == 1 ) ) {
     579                if ( ! empty( $_POST['_bbp_converter_convert_users'] ) && ( $_POST['_bbp_converter_convert_users'] == 1 ) ) {
    580580                    $this->map_userid[$field] = 0;
    581581                } else {
Note: See TracChangeset for help on using the changeset viewer.