From 49fef6b67b66833fc77be3d1d8f26bacd380ad3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Mon, 11 Jan 2021 12:28:31 +0300 Subject: [PATCH] type fixed.. --- app/Abstracts/View/Components/DocumentIndex.php | 2 +- app/Abstracts/View/Components/DocumentShow.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Abstracts/View/Components/DocumentIndex.php b/app/Abstracts/View/Components/DocumentIndex.php index fe21ddfb7..c6701fdaa 100644 --- a/app/Abstracts/View/Components/DocumentIndex.php +++ b/app/Abstracts/View/Components/DocumentIndex.php @@ -718,7 +718,7 @@ abstract class DocumentIndex extends Base if (!empty($alias)) { $translation = $alias . '::' . config('type.' . $type . '.translation.prefix') . '.statuses'; - if (is_array(trans($$translation))) { + if (is_array(trans($translation))) { return $translation . '.'; } } diff --git a/app/Abstracts/View/Components/DocumentShow.php b/app/Abstracts/View/Components/DocumentShow.php index e2f22f518..ac1d2363a 100644 --- a/app/Abstracts/View/Components/DocumentShow.php +++ b/app/Abstracts/View/Components/DocumentShow.php @@ -652,7 +652,7 @@ abstract class DocumentShow extends Base if (!empty($alias)) { $translation = $alias . '::' . config('type.' . $type . '.translation.prefix') . '.statuses'; - if (is_array(trans($$translation))) { + if (is_array(trans($translation))) { return $translation . '.'; } }