XF 2.2 Prevent warning update for opening old reports

AndrewSimm

Well-known member
I have an add-on that I am adding the ability to view reports by thread from the "more options" menu at the top of the thread. The only issue I am having with the add-on is when I run the rebuild after installing (to update all the existing post warnings with a thread_id), it ends up reopening all the reported posts with a comment that I have edited the warning.

How can I update my new thread_id column without having it consider updating the warning and reopening all the reported posts?
 
Top