This commit is contained in:
isUnknown 2025-01-23 14:39:02 +01:00
parent cf4352c658
commit 25afb36e00

View file

@ -91,7 +91,7 @@ function processDTLProposals($page) {
}
if ($DTLProposal) {
if ($proposalFile->cover()->isNotEmpty()) {
if (isset($proposalFile) && $proposalFile->cover()->isNotEmpty()) {
$DTLProposal["thumb"] = $proposalFile->cover()->toFile()->thumb([
"width" => 200,
"format" => "webp"