From 1bca19b22bc68e114d04616e9ce4268e5eb94335 Mon Sep 17 00:00:00 2001 From: TDavis Date: Sat, 30 Mar 2019 01:50:52 -0300 Subject: Mover hilos fix 4 Test 5 --- cgi/manage.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cgi/manage.py b/cgi/manage.py index d018143..af6a687 100644 --- a/cgi/manage.py +++ b/cgi/manage.py @@ -474,10 +474,10 @@ def manage(self, path_split): post['timestamp_formatted'] = formatTimestamp(post['timestamp']) if board["useid"] != '0': if post["parentid"]: - t = parent_post["timestamp"] + tym = parent_time else: - t = post["timestamp"] - post['timestamp_formatted'] += ' ID:' + iphash(post['ip'], post, t, board["useid"], False, '', False, False, (board["countrycode"] in ['1', '2'])) + tym = post["timestamp"] + post['timestamp_formatted'] += ' ID:' + iphash(post['ip'], post, tym, board["useid"], False, '', False, False, (board["countrycode"] in ['1', '2'])) # insert new post and get its new ID new_id = post.insert() @@ -494,6 +494,7 @@ def manage(self, path_split): # BBS = new thread timestamp, IB = new thread ID newthread = post['timestamp'] if board['board_type'] == '1' else new_id + parent_time = post['timestamp'] # log it message += "%s -> %s
" % (old_id, new_id) -- cgit v1.2.1-18-gbd029