Skip to content

Commit

Permalink
Fix if statement indentation in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
guvra authored and ifsnop committed Apr 3, 2020
1 parent 034247b commit fc9c119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ifsnop/Mysqldump/Mysqldump.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ public function __construct(
}

// If no include-views is passed in, dump the same views as tables, mimic mysqldump behaviour.
if ( ! isset( $dumpSettings['include-views'] ) ) {
$this->dumpSettings['include-views'] = $this->dumpSettings['include-tables'];
if (!isset($dumpSettings['include-views'])) {
$this->dumpSettings['include-views'] = $this->dumpSettings['include-tables'];
}

// Create a new compressManager to manage compressed output
Expand Down

0 comments on commit fc9c119

Please sign in to comment.