Topic: viewtopic.php - first-item class

Hello

There is bug in viewtopic (and maybe in other files too) with "first-item" class assignment. The problem is with assigning it into two arrays: $forum_page['post_contacts'] and $forum_page['post_actions'].

There is

(!empty($forum_page['post_contacts']) ? ' first-item' : '')
----
(!empty($forum_page['post_actions']) ? ' first-item' : '')

should be:

(empty($forum_page['post_contacts']) ? ' first-item' : '')
----
(empty($forum_page['post_actions']) ? ' first-item' : '')

in lines: 399, 401, 403, 408, 421, 430, 432, 434, 438, 444, 446, 448, 449 and 457

YonasH's repository + Extensions Directory = PunBB Extensions Online Library (in progress....)

Away. I will be back soon.

Re: viewtopic.php - first-item class

Fixed [1003]. Thanks.