diff options
Diffstat (limited to 'application/controllers/api/v1')
-rw-r--r-- | application/controllers/api/v1/file.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/controllers/api/v1/file.php b/application/controllers/api/v1/file.php index dae053db2..784f42555 100644 --- a/application/controllers/api/v1/file.php +++ b/application/controllers/api/v1/file.php @@ -62,6 +62,11 @@ class file extends \controllers\api\api_controller { foreach ($history['items'] as $key => $item) { unset($history['items'][$key]['thumbnail']); } + foreach ($history['multipaste_items'] as $key => $multipaste_item) { + foreach ($multipaste_item['items'] as $inner_key => $item) { + unset($history['multipaste_items'][$key]['items'][$inner_key]['sort_order']); + } + } return $history; } |