*
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -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; | ... | ... |
-
Please register or sign in to post a comment