Commit ad550dfe ad550dfed4dd3b9f49b49978ecd9727047500d6e by lemon

*

1 parent beef1c3e
...@@ -193,11 +193,11 @@ class BaseController extends Controller ...@@ -193,11 +193,11 @@ class BaseController extends Controller
193 { 193 {
194 foreach ($array as $k=>$v) { 194 foreach ($array as $k=>$v) {
195 if (is_array($v)) { 195 if (is_array($v)) {
196 // ksort($v); 196
197 $array[$k] = $this->handleSubArrayNumber($v); 197 $array[$k] = $this->handleSubArrayNumber($v);
198 } else { 198 } else {
199 $array = array_filter($array, function ($item) { 199 $array = array_filter($array, function ($item) {
200 if ($item === '' || $item === null) { 200 if ($item === '' || $item === null || $item === []) {
201 return false; 201 return false;
202 } else { 202 } else {
203 return true; 203 return true;
......