Gabriel Torres Posted December 19, 2021 Share Posted December 19, 2021 (edited) Hi, I wonder if the message "Post #0 unset as best answer" is the correct expected value in the moderator logs (in the ACP and in the topic itself). It seems weird to me. The language key is modlog__best_answer_unset which defaults to Post #%s unset as best answer. I believe that %s should be replaced with the post id (pid). If we check the logs for setting the best answer, we can see that the post id (pid) is being set correctly: Upon inspecting the source code, I found the bug at /system/Content/Controller.php Where it is: \IPS\Session::i()->modLog( 'modlog__best_answer_unset', array( $item->$solvedField => FALSE ), $item ); It should be: \IPS\Session::i()->modLog( 'modlog__best_answer_unset', array( $comment->$idField => FALSE ), $item ); Cheers, Gabe. Edited December 19, 2021 by Gabriel Torres SeNioR- 1 Link to comment Share on other sites More sharing options...
Marc Posted December 20, 2021 Share Posted December 20, 2021 Thank you for your report. I have added this to our internal bug tracker Gabriel Torres and SeNioR- 1 1 Link to comment Share on other sites More sharing options...
Solution Marc Posted January 25, 2022 Solution Share Posted January 25, 2022 This issue has been resolved in 4.6.10 beta 1. Feel free to give this a try, or await the full release if you prefer Gabriel Torres 1 Link to comment Share on other sites More sharing options...
Recommended Posts