Skip to content

Commit

Permalink
[wpmlbridge-295] Remove undefined variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
decodekult committed Apr 1, 2024
1 parent 38aabe5 commit 1a78e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sync/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private function prepare() {
private function maybePutMapping() {
$putMapping = ! empty( $_REQUEST['put_mapping'] );

if ( ( $putMapping || $forcePutMapping ) && false === $this->status->get('putMapping') ) {
if ( $putMapping && false === $this->status->get('putMapping') ) {
$this->indicesManager->clearAllIndices();
$this->status->set('putMapping', true);
}
Expand Down

0 comments on commit 1a78e2c

Please sign in to comment.