From b3963456c00a52c041689b49213feccf978e0ec5 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 6 Dec 2016 21:11:39 -0800 Subject: attach_list_files bugfix --- include/attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/attach.php') 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' -- cgit v1.2.3