Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hslater authored and osnard committed Apr 3, 2024
1 parent a7e3182 commit d7474aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Commands/WikiBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ private function getTargetFilename() {
$filename = $this->wikiName;
}
$profileOptions = $this->profile->getOptions();
if ( isset( $profileOptions['target-filename'] ) && !empty( $profileOptions['target-filename'] ) {
if ( isset( $profileOptions['target-filename'] ) &&
!empty( $profileOptions['target-filename'] ) ) {
$filename = $profileOptions['target-filename'];
}

Expand Down

0 comments on commit d7474aa

Please sign in to comment.