|
@@ -51,14 +51,14 @@ class PublicController
|
|
|
}
|
|
}
|
|
|
$childs .= "]";
|
|
$childs .= "]";
|
|
|
}
|
|
}
|
|
|
- $ress = $kk == 0 ? ('{"value": "' . $vv['name'] . '", "label": "' . $vv['name'] . '"}') : (',{"value": "' . $vv['name'] . '", "label": "' . $vv['name'] . '"}');
|
|
|
|
|
|
|
+ $ress = $kk == 0 ? ('{"value": "' . $vv['name'] . '", "label": "' . $vv['name'] . '"') : (',{"value": "' . $vv['name'] . '", "label": "' . $vv['name'] . '"');
|
|
|
if ($childs) $ress .= $childs;
|
|
if ($childs) $ress .= $childs;
|
|
|
$ress .= '}';
|
|
$ress .= '}';
|
|
|
$child .= $ress;
|
|
$child .= $ress;
|
|
|
}
|
|
}
|
|
|
$child .= "]";
|
|
$child .= "]";
|
|
|
}
|
|
}
|
|
|
- $ress = $k == 0 ? ('{"value": "' . $v['name'] . '", "label": "' . $v['name'] . '"}') : (',{"value": "' . $v['name'] . '", "label": "' . $v['name'] . '"}');
|
|
|
|
|
|
|
+ $ress = $k == 0 ? ('{"value": "' . $v['name'] . '", "label": "' . $v['name'] . '"') : (',{"value": "' . $v['name'] . '", "label": "' . $v['name'] . '"');
|
|
|
if ($child) $ress .= $child;
|
|
if ($child) $ress .= $child;
|
|
|
$ress .= '}';
|
|
$ress .= '}';
|
|
|
$res .= $ress;
|
|
$res .= $ress;
|