mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
fixed cover photo error
This commit is contained in:
parent
ab92313c4c
commit
acfcbc6ee0
@ -320,11 +320,8 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface
|
||||
'mime_type' => $image->mime,
|
||||
'extension' => $image->extension,
|
||||
]);
|
||||
|
||||
$coverPhoto = 'files/images/' . $fileName;
|
||||
} else {
|
||||
$coverPhoto = $thumbnail->make()->path();
|
||||
}
|
||||
$coverPhoto = 'files/images/' . $fileName;
|
||||
} else {
|
||||
$coverPhoto = null;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user