Skip to content

Commit c15bf7e

Browse files
committed
fixed
1 parent 91de40b commit c15bf7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BackupTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ trait BackupTrait
3939
public function getAbsolutePath($path)
4040
{
4141
if (!(new Filesystem())->isAbsolutePath($path)) {
42-
$path = add_slash_term(Configure::read('DatabaseBackup.target')) . $path;
42+
return add_slash_term(Configure::read('DatabaseBackup.target')) . $path;
4343
}
4444

4545
return $path;

0 commit comments

Comments
 (0)