diff --git a/app/Services/Pdf/PdfConfiguration.php b/app/Services/Pdf/PdfConfiguration.php index febe6d7d3ffe..9ab8751bb870 100644 --- a/app/Services/Pdf/PdfConfiguration.php +++ b/app/Services/Pdf/PdfConfiguration.php @@ -273,7 +273,7 @@ class PdfConfiguration { $design_id = $this->entity->design_id ? : $this->decodePrimaryKey($this->settings_object->getSetting($this->entity_design_id)); - $this->design = Design::withTrashed()->find($design_id ?: 2); + $this->design = Design::withTrashed()->find($design_id ?? 2); return $this; }