summaryrefslogtreecommitdiffstats
path: root/external/itemapi.php
diff options
context:
space:
mode:
Diffstat (limited to 'external/itemapi.php')
-rw-r--r--external/itemapi.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/itemapi.php b/external/itemapi.php
index 83aa0f4da..0477f3a19 100644
--- a/external/itemapi.php
+++ b/external/itemapi.php
@@ -60,7 +60,7 @@ class ItemAPI extends Controller {
);
$userId = $this->api->getUserId();
- $batchSize = (int) $this->params('batchSize');
+ $batchSize = (int) $this->params('batchSize', 20);
$offset = (int) $this->params('offset', 0);
$type = (int) $this->params('type');
$id = (int) $this->params('id');