diff options
author | TDavis | 2019-03-30 01:50:52 -0300 |
---|---|---|
committer | TDavis | 2019-03-30 01:50:52 -0300 |
commit | 1bca19b22bc68e114d04616e9ce4268e5eb94335 (patch) | |
tree | a4f5389728be305027169f6f41b9f3ddc22e4f03 | |
parent | e5e72a395021f2db03dec51994bcb9c6350eea0d (diff) | |
download | weabot-1bca19b22bc68e114d04616e9ce4268e5eb94335.tar.gz weabot-1bca19b22bc68e114d04616e9ce4268e5eb94335.tar.xz weabot-1bca19b22bc68e114d04616e9ce4268e5eb94335.zip |
Mover hilos fix 4 Test 5
-rw-r--r-- | cgi/manage.py | 7 |
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) |