type fixed..
This commit is contained in:
parent
7b001d039c
commit
49fef6b67b
@ -718,7 +718,7 @@ abstract class DocumentIndex extends Base
|
|||||||
if (!empty($alias)) {
|
if (!empty($alias)) {
|
||||||
$translation = $alias . '::' . config('type.' . $type . '.translation.prefix') . '.statuses';
|
$translation = $alias . '::' . config('type.' . $type . '.translation.prefix') . '.statuses';
|
||||||
|
|
||||||
if (is_array(trans($$translation))) {
|
if (is_array(trans($translation))) {
|
||||||
return $translation . '.';
|
return $translation . '.';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -652,7 +652,7 @@ abstract class DocumentShow extends Base
|
|||||||
if (!empty($alias)) {
|
if (!empty($alias)) {
|
||||||
$translation = $alias . '::' . config('type.' . $type . '.translation.prefix') . '.statuses';
|
$translation = $alias . '::' . config('type.' . $type . '.translation.prefix') . '.statuses';
|
||||||
|
|
||||||
if (is_array(trans($$translation))) {
|
if (is_array(trans($translation))) {
|
||||||
return $translation . '.';
|
return $translation . '.';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user