From f04231729c560ad5fa5c675bada5f1dacad6b1b7 Mon Sep 17 00:00:00 2001 From: Pavel Mironchik Date: Sat, 16 Jan 2021 14:17:15 +0600 Subject: [PATCH] Fix getting the document template. --- app/Abstracts/View/Components/DocumentShow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Abstracts/View/Components/DocumentShow.php b/app/Abstracts/View/Components/DocumentShow.php index a94887360..1f2cb8c7d 100644 --- a/app/Abstracts/View/Components/DocumentShow.php +++ b/app/Abstracts/View/Components/DocumentShow.php @@ -566,7 +566,7 @@ abstract class DocumentShow extends Base return $template; } - $documentTemplate = setting($type . '.template') !== null ?: 'default'; + $documentTemplate = setting($type . '.template') ?: 'default'; return $documentTemplate; }