Skip to content

Commit c83bc3a

Browse files
committed
Fix loading backups choices in backup:restore command
The 'result' filter cannot currently be combined with others.
1 parent a16ca9f commit c83bc3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/Backup/BackupRestoreCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
3838

3939
$backupName = $input->getArgument('backup');
4040
if (!empty($backupName)) {
41-
$backupActivities = $loader->load($environment, null, 'environment.backup', null, 'complete', 'success', function (Activity $activity) use ($backupName) {
41+
$backupActivities = $loader->load($environment, null, 'environment.backup', null, 'complete', null, function (Activity $activity) use ($backupName) {
4242
return $activity->payload['backup_name'] === $backupName;
4343
});
4444
// Find the specified backup.

0 commit comments

Comments
 (0)