Skip to content

Commit 82c5ced

Browse files
committed
Fix re-upload
1 parent fbeb8e7 commit 82c5ced

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/behaviors/FileBind.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public function bindSingle($storage, $ownerId, $ownerType, $fileId)
3636
if ($file) {
3737
$this->deleteCurrentFiles($storage, $ownerId, $ownerType, $file);
3838
$file->updateAttributes($file->getDirtyAttributes());
39+
$file->setStorage($storage);
3940
}
4041
}
4142
return $file;

0 commit comments

Comments
 (0)