Changeset 5829 for trunk/src/includes/admin/converters/e107v1.php
- Timestamp:
- 07/14/2015 12:46:38 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/e107v1.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/e107v1.php
r5770 r5829 567 567 $field = preg_replace( '/(\d+?)+\.[\S\s]+/', '$1', $field ); 568 568 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 ) ) { 571 571 $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 ) ); 572 572 } else { … … 577 577 $this->map_userid[$field] = $row->value_id; 578 578 } 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 ) ) { 580 580 $this->map_userid[$field] = 0; 581 581 } else {
Note: See TracChangeset
for help on using the changeset viewer.