| @@ 403-408 (lines=6) @@ | ||
| 400 | continue; |
|
| 401 | } |
|
| 402 | ||
| 403 | if (!is_array($value)) { |
|
| 404 | $filter_type = Datasource::determineFilterType($value); |
|
| 405 | $value = Datasource::splitFilter($filter_type, $value); |
|
| 406 | } else { |
|
| 407 | $filter_type = Datasource::FILTER_OR; |
|
| 408 | } |
|
| 409 | ||
| 410 | // Handle date meta data #2003 |
|
| 411 | $handle = Symphony::Database()->cleanValue($handle); |
|
| @@ 382-388 (lines=7) @@ | ||
| 379 | continue; |
|
| 380 | } |
|
| 381 | ||
| 382 | if (!is_array($filter)) { |
|
| 383 | $filter_type = Datasource::determineFilterType($filter); |
|
| 384 | $value = Datasource::splitFilter($filter_type, $filter); |
|
| 385 | } else { |
|
| 386 | $filter_type = Datasource::FILTER_OR; |
|
| 387 | $value = $filter; |
|
| 388 | } |
|
| 389 | ||
| 390 | if (!in_array($field_id, self::$_system_parameters) && $field_id != 'id' && !(self::$_fieldPool[$field_id] instanceof Field)) { |
|
| 391 | throw new Exception( |
|