Skip to content

Commit 90dd9b6

Browse files
fixed no steps configured condition
1 parent fe2ae10 commit 90dd9b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Service/BackupService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public function getStepsInstances(string $backupPath, array $whiteList = null):
194194

195195
public function noStepsConfigured(): bool
196196
{
197-
return count($this->config['steps']) > 0;
197+
return count($this->config['steps']) === 0;
198198
}
199199

200200
public function getBackup(string $name)

0 commit comments

Comments
 (0)