From 8eacbe05201aa9e9eec7c43092997a5d6fc90e02 Mon Sep 17 00:00:00 2001 From: Renard Date: Fri, 31 Jul 2020 19:07:23 -0400 Subject: AAAAAAA --- cgi/modapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/modapi.py b/cgi/modapi.py index 65c7320..4d0a428 100644 --- a/cgi/modapi.py +++ b/cgi/modapi.py @@ -88,7 +88,7 @@ def api_process(self, path_split): values['posts'] = post if 'test' in formdata.keys(): id = formdata.get('test') - post = FetchAll("SELECT `id`, `boardid`, `parentid`,`timestamp`, `name`, `tripcode`, `email` ,`subject`,`message`,`file`,`thumb`, IPV6_NTOA(`ip`) as ip,`IS_DELETED` AS `deleted`, `bumped`, `last`, `locked` FROM `posts` WHERE `parentid` = '" + + post = FetchAll("SELECT `id`, `boardid`, `parentid`,`timestamp`, `name`, `tripcode`, `email` ,`subject`,`message`,`file`,`thumb`, INET6_NTOA(`ip`) as ip,`IS_DELETED` AS `deleted`, `bumped`, `last`, `locked` FROM `posts` WHERE `parentid` = '" + _mysql.escape_string(id) + "'") values['posts'] = post elif method == 'reports': # /cgi/manage/reports/ignore -- cgit v1.2.1-18-gbd029