| @@ -32,11 +32,9 @@ | ||
| 32 | 32 | $function = $data['value']; |
| 33 | 33 | $params = explode(',', !empty($data['params']) ? $data['params'] : ''); |
| 34 | 34 | |
| 35 | 35 | $items = call_user_func_array($function, $params); |
| 36 | - if( is_array( $items ) ) { | |
| 37 | - $arr['items'] = array_merge($arr['items'], $items); | |
| 38 | - } | |
| 36 | + $arr['items'] = array_merge($arr['items'], $items); | |
| 39 | 37 | } |
| 40 | 38 | else if($data['source'] == 'binding') |
| 41 | 39 | { |
| 42 | 40 | $function = $data['value']; |