mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-03 05:50:25 +08:00
fix and revert
This commit is contained in:
parent
5b485b7b10
commit
709baae712
@ -71,10 +71,7 @@ class OptionForm
|
|||||||
|
|
||||||
// Assign name for option item
|
// Assign name for option item
|
||||||
if (! isset($params[1]) || Arr::get($params, 1) == OptionForm::AUTO_DETECT) {
|
if (! isset($params[1]) || Arr::get($params, 1) == OptionForm::AUTO_DETECT) {
|
||||||
$params[1] = trans("options.$this->id.$params[0]");
|
$params[1] = Arr::get(trans("options.$this->id.$params[0]"), 'title', trans("options.$this->id.$params[0]"));
|
||||||
if ($params[1] == "options.$this->id.$params[0]") {
|
|
||||||
$params[1] = trans("options.$this->id.$params[0].title");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$class = new ReflectionClass('App\Services\OptionForm'.Str::title($method));
|
$class = new ReflectionClass('App\Services\OptionForm'.Str::title($method));
|
||||||
|
@ -11,5 +11,5 @@ return [
|
|||||||
| If true, this will flatten all array contents into a string.
|
| If true, this will flatten all array contents into a string.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'dot_syntax' => true,
|
'dot_syntax' => false,
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user