Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions srdb.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1024,17 +1024,17 @@ public function replacer( $search = '', $replace = '', $tables = array(), $exclu

if ( in_array( $column, $primary_key ) ) {
$where_sql[] = "`{$column}` = " . $this->db_escape( $data_to_fix );
continue;
continue 2;
}

// exclude cols
if ( in_array( $column, $this->exclude_cols ) ) {
continue;
continue 2;
}

// include cols
if ( ! empty( $this->include_cols ) && ! in_array( $column, $this->include_cols ) ) {
continue;
continue 2;
}

// Run a search replace on the data that'll respect the serialisation.
Expand Down