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 1d8da5a commit e99e9f2Copy full SHA for e99e9f2
src/controllers/RenameController.php
@@ -48,7 +48,7 @@ public function getRename()
48
event(new ImageIsRenaming($old_file->path('absolute'), $new_file));
49
}
50
51
- if ($old_file->isImage()) {
+ if ($old_file->hasThumb()) {
52
$this->lfm->setName($old_name)->thumb()
53
->move($this->lfm->setName($new_name)->thumb());
54
0 commit comments