summaryrefslogtreecommitdiffstats
path: root/application/controllers/api/v2/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/api/v2/file.php')
-rw-r--r--application/controllers/api/v2/file.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/api/v2/file.php b/application/controllers/api/v2/file.php
index 6eb0ae43b..6f95d5525 100644
--- a/application/controllers/api/v2/file.php
+++ b/application/controllers/api/v2/file.php
@@ -71,14 +71,14 @@ class file extends \controllers\api\api_controller {
public function delete()
{
$this->muser->require_access("apikey");
- $ids = $this->input->post("ids");
+ $ids = $this->input->post_array("ids");
return \service\files::delete($ids);
}
public function create_multipaste()
{
$this->muser->require_access("basic");
- $ids = $this->input->post("ids");
+ $ids = $this->input->post_array("ids");
$userid = $this->muser->get_userid();
$limits = $this->muser->get_upload_id_limits();