MyBB Community Forums

Full Version: [Usercp bug] - "lock" folder & folder icon needs to be corrected to "close" icon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In usercp.php

if($thread['closed'] == 1)
{
	$folder .= "lock";
	$folder_label .= $lang->icon_lock;
}


Needs to be changed to:

if($thread['closed'] == 1)
{
	$folder .= "close";
	$folder_label .= $lang->icon_close;
}

To reflect language file and current existing lock to close change as without this the close icons appear to break as usercp is looking for lock icon currently.

As you can see by the attached screenshots currently the bug in usercp does not display closed icon correctly until modifying the usercp.php code
Yes, you are completely right!

https://github.com/mybb/mybb/issues/3457

Thank you for your report and fix Smile