attach_list_files bugfix

This commit is contained in:
zotlabs
2016-12-06 21:11:39 -08:00
parent bccf371aa9
commit b3963456c0
2 changed files with 8 additions and 2 deletions

View File

@@ -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'