From d2c2c017f19ae59177f7e14b075d30eb463b56e1 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 18 Jul 2019 22:58:50 -0700 Subject: [PATCH] postID should be copied to clones also. --- src/classes/Post.Clone.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/Post.Clone.coffee b/src/classes/Post.Clone.coffee index b549c5b375..8f87315eaa 100644 --- a/src/classes/Post.Clone.coffee +++ b/src/classes/Post.Clone.coffee @@ -2,7 +2,7 @@ Post.Clone = class extends Post isClone: true constructor: (@origin, @context, contractThumb) -> - for key in ['ID', 'threadID', 'boardID', 'siteID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply'] + for key in ['ID', 'postID', 'threadID', 'boardID', 'siteID', 'fullID', 'board', 'thread', 'info', 'quotes', 'isReply'] # Copy or point to the origin's key value. @[key] = @origin[key]