...
|
...
|
@@ -46,7 +46,7 @@ class ClassModel |
|
|
$oneClass = array();
|
|
|
$item = array();
|
|
|
foreach ($data['data'] as $k => $v) {
|
|
|
$oneClass = array('name' => ucfirst($k), 'ca' => array());
|
|
|
$oneClass = array('name' => ucfirst(rtrim($k, 's')), 'ca' => array());
|
|
|
|
|
|
foreach ($v as $val) {
|
|
|
$item = array();
|
...
|
...
|
|