aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/manage.py7
1 files 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<br>" % (old_id, new_id)