aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-06 21:11:39 -0800
committerzotlabs <mike@macgirvin.com>2016-12-06 21:11:39 -0800
commitb3963456c00a52c041689b49213feccf978e0ec5 (patch)
treee97867ad58c81db5f20a96b39f340cc246dfbddd /include/attach.php
parentbccf371aa970776e04617760f994f86695bff56a (diff)
downloadvolse-hubzilla-b3963456c00a52c041689b49213feccf978e0ec5.tar.gz
volse-hubzilla-b3963456c00a52c041689b49213feccf978e0ec5.tar.bz2
volse-hubzilla-b3963456c00a52c041689b49213feccf978e0ec5.zip
attach_list_files bugfix
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 504601b55..ba2f60a90 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -203,7 +203,7 @@ function attach_list_files($channel_id, $observer, $hash = '', $filename = '', $
$sql_extra .= protect_sprintf(" and filetype like '%" . dbesc($filetype) . "%' ");
if($entries)
- $limit = " limit " . intval($start) . ", " . intval(entries) . " ";
+ $limit = " limit " . intval($start) . ", " . intval($entries) . " ";
// Retrieve all columns except 'data'