diff --git a/includes/admin/converter.php b/includes/admin/converter.php
index fe1d59f..2588109 100644
a
|
b
|
abstract class BBP_Converter_Base { |
1248 | 1248 | private function callback_reply_to( $field ) { |
1249 | 1249 | if ( !isset( $this->map_reply_to[$field] ) ) { |
1250 | 1250 | if ( !empty( $this->sync_table ) ) { |
1251 | | $row = $this->wpdb->get_row( $this->wpdb->prepare( 'SELECT value_id, meta_value FROM ' . $this->sync_table_name . ' WHERE meta_key = "_bbp_reply_to" AND meta_value = "%s" LIMIT 1', $field ) ); |
| 1251 | $row = $this->wpdb->get_row( $this->wpdb->prepare( 'SELECT value_id, meta_value FROM ' . $this->sync_table_name . ' WHERE meta_key = "_bbp_post_id" AND meta_value = "%s" LIMIT 1', $field ) ); |
1252 | 1252 | } else { |
1253 | | $row = $this->wpdb->get_row( $this->wpdb->prepare( 'SELECT post_id AS value_id FROM ' . $this->wpdb->postmeta . ' WHERE meta_key = "_bbp_reply_to" AND meta_value = "%s" LIMIT 1', $field ) ); |
| 1253 | $row = $this->wpdb->get_row( $this->wpdb->prepare( 'SELECT post_id AS value_id FROM ' . $this->wpdb->postmeta . ' WHERE meta_key = "_bbp_post_id" AND meta_value = "%s" LIMIT 1', $field ) ); |
1254 | 1254 | } |
1255 | 1255 | |
1256 | 1256 | if ( !is_null( $row ) ) { |