@@ 2364-2372 (lines=9) @@ | ||
2361 | $limit = (int)$limit; |
|
2362 | $offset = (int)$offset; |
|
2363 | ||
2364 | if ($type) { |
|
2365 | if (!is_array($type)) { |
|
2366 | $type = array(sanitise_string($type)); |
|
2367 | } else { |
|
2368 | foreach ($type as $k => $v) { |
|
2369 | $type[$k] = sanitise_string($v); |
|
2370 | } |
|
2371 | } |
|
2372 | } |
|
2373 | ||
2374 | if ($subtype) { |
|
2375 | if (!is_array($subtype)) { |
|
@@ 2374-2382 (lines=9) @@ | ||
2371 | } |
|
2372 | } |
|
2373 | ||
2374 | if ($subtype) { |
|
2375 | if (!is_array($subtype)) { |
|
2376 | $subtype = array(sanitise_string($subtype)); |
|
2377 | } else { |
|
2378 | foreach ($subtype as $k => $v) { |
|
2379 | $subtype[$k] = sanitise_string($v); |
|
2380 | } |
|
2381 | } |
|
2382 | } |
|
2383 | ||
2384 | if ($owner_guid) { |
|
2385 | if (is_array($owner_guid)) { |