diff options
-rw-r--r-- | cgi/modapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/modapi.py b/cgi/modapi.py index 4c008de..abefdc9 100644 --- a/cgi/modapi.py +++ b/cgi/modapi.py @@ -93,7 +93,7 @@ def api_process(self, path_split): UpdateDb("DELETE FROM `reports` WHERE `id` = '" + _mysql.escape_string(report_id)+"'") else: - values['state']: "error" + values['state'] = "error" else: reports = FetchAll( "SELECT id, timestamp, timestamp_formatted, postid, parentid, link, board, INET6_NTOA(ip) AS ip, reason, INET6_NTOA(repip) AS repip FROM `reports` ORDER BY `timestamp` DESC") |