2016-07-13, 05:09 PM
Hi,
I am using 1.8.7 version of MyBB. I found a bug in case we are using the variable {$thread['closed']} in any template.
Basically in forumdisplay.php page, it gives a value of 1 when a thread is closed and no value when it is not closed (Ideally it should be 0). But this is not a big problem, but the main problem arises with a thread that is closed and is moved to a different forum with a infinite redirect link. It returns a value thread_closed_moved|15 which it should ideally be 0 or 1 to match above style.
My suggestion would be make it consistent for all threads.
I am using 1.8.7 version of MyBB. I found a bug in case we are using the variable {$thread['closed']} in any template.
Basically in forumdisplay.php page, it gives a value of 1 when a thread is closed and no value when it is not closed (Ideally it should be 0). But this is not a big problem, but the main problem arises with a thread that is closed and is moved to a different forum with a infinite redirect link. It returns a value thread_closed_moved|15 which it should ideally be 0 or 1 to match above style.
My suggestion would be make it consistent for all threads.