aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/api_zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api_zot.php b/include/api_zot.php
index e91d82b0b..38919cb95 100644
--- a/include/api_zot.php
+++ b/include/api_zot.php
@@ -83,7 +83,7 @@
$ptr['content'] = '';
elseif(! intval($r[0]['os_storage'])) {
$ptr['start'] = $start;
- $x = substr(dbunescbin($ptr['content'],$start,$length));
+ $x = substr(dbunescbin($ptr['content']),$start,$length);
$ptr['length'] = strlen($x);
$ptr['content'] = base64_encode($x);
}