type fixed..

This commit is contained in:
Cüneyt Şentürk 2021-01-11 12:28:31 +03:00
parent 7b001d039c
commit 49fef6b67b
2 changed files with 2 additions and 2 deletions

View File

@ -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 . '.';
}
}

View File

@ -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 . '.';
}
}