aboutsummaryrefslogtreecommitdiffstats
path: root/include/api_zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-23 17:49:15 -0700
committerzotlabs <mike@macgirvin.com>2016-10-23 17:49:15 -0700
commit8d52a278a964de86f2159441ed0cffe3add0d916 (patch)
tree5037abae57c01c7ff9f53e760314bb552d2b7773 /include/api_zot.php
parentd30892ea601e9131c6dc3b25aeee1f258f72a104 (diff)
parent5fbba27d17c78081e784fc2f8e9bb1907b79b4b7 (diff)
downloadvolse-hubzilla-8d52a278a964de86f2159441ed0cffe3add0d916.tar.gz
volse-hubzilla-8d52a278a964de86f2159441ed0cffe3add0d916.tar.bz2
volse-hubzilla-8d52a278a964de86f2159441ed0cffe3add0d916.zip
Merge branch 'dev' into pdo
Diffstat (limited to 'include/api_zot.php')
-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);
}