Closed (fixed)
Project:
Advanced Forum
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Nov 2015 at 13:15 UTC
Updated:
11 May 2016 at 09:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ey commentedHere's the patch.
Please review.
Comment #3
podarokThanks, merged
Comment #5
ey commentedI've just found a new minor bug introduced by this patch.
If a topic is locked, there is no comment form, i.e.
$node->content['comments']['comment_form']is not defined. That results in notices in logs:It is better to check if a post is locked, before assigning the comment form id. My time is limited now, but the patch would be very simple. If I get a bit more time tomorrow, I'll post a new patch.
Comment #6
ey commentedHere's new patch
Comment #8
podarokThanks, fixed