From 1ff97754afee87f23b17a6b036ebe9e69d41a7c6 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 24 Feb 2019 21:43:15 -0800 Subject: issues uncovered testing combined item/file import --- include/channel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/channel.php') diff --git a/include/channel.php b/include/channel.php index 3de293ab2..466d2eab9 100644 --- a/include/channel.php +++ b/include/channel.php @@ -1207,8 +1207,8 @@ function channel_export_items_page($channel_id, $start, $finish, $page = 0, $lim $r = q("select * from item where ( item_wall = 1 or item_type != %d ) and item_deleted = 0 and uid = %d and resource_type = '' and created >= '%s' and created <= '%s' order by created limit %d offset %d", intval(ITEM_TYPE_POST), intval($channel_id), - intval($start), - intval($finish), + dbesc($start), + dbesc($finish), intval($limit), intval($offset) ); -- cgit v1.2.3