mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -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,
|
'mime_type' => $image->mime,
|
||||||
'extension' => $image->extension,
|
'extension' => $image->extension,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$coverPhoto = 'files/images/' . $fileName;
|
|
||||||
} else {
|
|
||||||
$coverPhoto = $thumbnail->make()->path();
|
|
||||||
}
|
}
|
||||||
|
$coverPhoto = 'files/images/' . $fileName;
|
||||||
} else {
|
} else {
|
||||||
$coverPhoto = null;
|
$coverPhoto = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user