fix
This commit is contained in:
parent
cf4352c658
commit
25afb36e00
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ function processDTLProposals($page) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($DTLProposal) {
|
if ($DTLProposal) {
|
||||||
if ($proposalFile->cover()->isNotEmpty()) {
|
if (isset($proposalFile) && $proposalFile->cover()->isNotEmpty()) {
|
||||||
$DTLProposal["thumb"] = $proposalFile->cover()->toFile()->thumb([
|
$DTLProposal["thumb"] = $proposalFile->cover()->toFile()->thumb([
|
||||||
"width" => 200,
|
"width" => 200,
|
||||||
"format" => "webp"
|
"format" => "webp"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue