We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbeb8e7 commit 82c5cedCopy full SHA for 82c5ced
src/behaviors/FileBind.php
@@ -36,6 +36,7 @@ public function bindSingle($storage, $ownerId, $ownerType, $fileId)
36
if ($file) {
37
$this->deleteCurrentFiles($storage, $ownerId, $ownerType, $file);
38
$file->updateAttributes($file->getDirtyAttributes());
39
+ $file->setStorage($storage);
40
}
41
42
return $file;
0 commit comments