Skip to content

Commit 86ea431

Browse files
author
Paul Vidal
committed
first release
1 parent 4c62ee1 commit 86ea431

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Console/Command/MysqlRestore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ protected function setFilename($input, $output)
227227
} else {
228228
$selectedFiles = [];
229229
foreach ($this->backupFileNames as $index => $backupFileName) {
230-
if (ends_with($backupFileName, '_' . $this->connection['database'] . '.sql') || ends_with($backupFileName, '_' . $this->connection['database'] . 'sql.gz')) {
230+
if (ends_with($backupFileName, '_' . $this->connection['database'] . '.sql') || ends_with($backupFileName, '_' . $this->connection['database'] . '.sql.gz')) {
231231
array_push($this->backupFileAlternatives, $backupFileName);
232232
array_push($selectedFiles, $this->backupFiles[$index]);
233233
}

0 commit comments

Comments
 (0)