Skip to content

Commit

Permalink
Fix re-upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rkit committed Mar 21, 2016
1 parent fbeb8e7 commit 82c5ced
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/behaviors/FileBind.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function bindSingle($storage, $ownerId, $ownerType, $fileId)
if ($file) {
$this->deleteCurrentFiles($storage, $ownerId, $ownerType, $file);
$file->updateAttributes($file->getDirtyAttributes());
$file->setStorage($storage);
}
}
return $file;
Expand Down

0 comments on commit 82c5ced

Please sign in to comment.